home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d3 / re.arc / RE.DOC < prev    next >
Text File  |  1990-01-16  |  103KB  |  2,164 lines

  1.                                 
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.                  RAVITZ EDITOR 1.00 REFERENCE
  22.  
  23.                  (C) Copyright 1989 Cary Ravitz
  24.  
  25.  
  26.                  Cary Ravitz
  27.                  P. O. Box 25068
  28.                  Lexington, KY  40524-5068
  29.                                          
  30.  
  31.                                         r-1
  32.      CONTENTS
  33.  
  34.        INTRODUCTION ..................................................... 2
  35.        LICENSE AND REGISTRATION                          2
  36.        INSTALLATION ..................................................... 3
  37.        GENERAL INFORMATION                              4
  38.        HELP ............................................................. 6
  39.        ENTERING TEXT                              6
  40.        FUNCTIONS ........................................................ 7
  41.        COMMANDS                                 10
  42.        MENUS ........................................................... 11
  43.        EDIT COMMAND                              12
  44.        SAVE COMMAND .................................................... 13
  45.        QUIT COMMAND                              14
  46.        NAME COMMAND .................................................... 14
  47.        PRINT COMMAND                             14
  48.        MARKING AN AREA ................................................. 15
  49.        OPERATING ON AN AREA MARK                         17
  50.        FILL AREA FUNCTIONS ............................................. 19
  51.        LINE EXCLUDE FUNCTIONS                         20
  52.        POSITION MARK FUNCTIONS ......................................... 24
  53.        WORD WRAP MARGINS COMMAND                         25
  54.        TAB COMMAND ..................................................... 25
  55.        BASIC FLOW FUNCTIONS                          26
  56.        PARAGRAPH REFLOW FUNCTIONS ...................................... 28
  57.        DRAWING MODES                             28
  58.        FIND COMMAND .................................................... 29
  59.        CHANGE COMMAND                             31
  60.        ORDER LINES COMMAND ............................................. 32
  61.        LINE NUMBER COMMAND                             32
  62.        DOS SHELL COMMAND ............................................... 32
  63.        WINDOWS AND SPLIT SCREEN                         33
  64.        STATUS LINE ..................................................... 33
  65.        FILE NAMES                                 34
  66.        MEMORY MANAGEMENT ............................................... 34
  67.        HOUSEKEEPING DETAILS                          35
  68.        MOUSE HANDLING .................................................. 36
  69.        DISPLAYS                                 36
  70.        TIPS ............................................................ 37
  71.        MESSAGES                                 38
  72.        COMPATIBILITY AND TECHNICAL INFORMATION ......................... 42
  73.        WHAT RE CANNOT DO                             43
  74.        WHAT TO DO IF YOU HAVE PROBLEMS ................................. 43
  75.                                          
  76.  
  77.                                         r-2
  78.      INTRODUCTION
  79.  
  80.        Ravitz  Editor  (RE)  is  a shareware ASCII    text editor for  IBM PC
  81.        compatible computers.  It is  a  mid  sized    (46K to  64K)  but very
  82.        powerful   editor   with  integrated   outlining   and   overviewing
  83.        capabilities.
  84.  
  85.        RE has organizational aids that let you hide (exclude) lines to view
  86.        and    operate  on  program,  outline,  and document  structures, sort
  87.        lines, mark and return  to positions, and view two files or parts of
  88.        the same file at once.  A change tracking system lets you review new
  89.        and modified lines.
  90.  
  91.        The user interface includes features such as: one character mnemonic
  92.        functions,  commands,  and  options;  menus;  mouse    input;    and  an
  93.        internal instant help system.
  94.  
  95.        RE  includes find and change  functions with  options such as  word,
  96.        check capitalization,  ignore  excluded  lines, look only  in marked
  97.        area, all, and show all.  Its marked area functions include overlay,
  98.        copy lines, delete, fill with  block pattern, fill with numeric line
  99.        pattern, uppercase, shift horizontal,  and shift vertical.  Each  of
  100.        these functions may include or ignore excluded lines. There are also
  101.        functions to help in writing documents such as word wrap, flow, flow
  102.        with right  justification,  flow into  list, center text,  and  line
  103.        drawing.
  104.  
  105.        RE is configurable via profiles that are installed  within  the  EXE
  106.        file.  Keyboard usage,  default values,  macros,  menus, panels, and
  107.        help text may be  defined  with a  profile and assembled  into a new
  108.        RE.EXE  with REPROF.  The macro facility  has nestable  macros  with
  109.        looping  and   conditional    control.   See    REPROF.DOC   for   more
  110.        information.
  111.  
  112.      LICENSE AND REGISTRATION
  113.  
  114.        You may  use  Ravitz  Editor  without  charge  on a    trial basis  to
  115.        determine its suitability  for you.    If you continue to use RE after
  116.        your evaluation a $25 registration is requested.
  117.  
  118.        RE is provided as is. There are no warranties expressed or implied.
  119.  
  120.        You may  distribute    RE  if you keep  the  entire  package together,
  121.        unchanged,  including  this license    explanation,  and do not charge
  122.        more than  a  small    handling  fee ($10).  You may  include    special
  123.        profiles with the package if they are clearly marked as such.
  124.  
  125.        To register your  copy of RE, send your name, address, and $25 check
  126.        to:
  127.  
  128.          Cary Ravitz
  129.          P. O. Box 25068
  130.          Lexington, KY  40524-5068
  131.  
  132.        You    will  not  receive a  new  copy of  RE.  The RE bulletin  board
  133.        distribution package is the complete, full function program.
  134.                                          
  135.  
  136.                                         r-3
  137.      INSTALLATION
  138.  
  139.        The RE package consists of these files:
  140.  
  141.          RE.EXE     program (not included - must be generated with REPROF)
  142.          RE.DOC     documentation
  143.          REPROF.EXE  profile assembler program
  144.          REPROF.DOC  profile documentation
  145.          REPROF.1     default profile
  146.          REPROF.2     alternate profile
  147.          REPROF.MAC  miscellaneous macros
  148.  
  149.        To  install RE  copy the distribution  files to your working disk or
  150.        directory.  Run  "REPROF" from  the    DOS  prompt.  This  will create
  151.        RE.EXE.
  152.  
  153.        RE.EXE is a stand alone executable file.  You can use it without any
  154.        other file - help text is included within the EXE file.
  155.  
  156.        RE.DOC is  this manual.  You  will need it for in-depth explanations
  157.        that are  not included in the program  help text.  You  can print it
  158.        with "COPY RE.DOC PRN" (46 pages).
  159.  
  160.        REPROF.EXE  is the profile assembler.  It  assembles  a  profile  to
  161.        create a new RE.EXE,  and can also regenerate the  original    RE.EXE.
  162.        REPROF.1 and REPROF.2  are  profiles  that can  be  used as starting
  163.        points  for    your  personalization    of   RE.   REPROF.DOC  is   the
  164.        documentation, which  may be printed with "COPY REPROF.DOC PRN"  (38
  165.        pages).
  166.  
  167.        REPROF.MAC is a set of macros that may be useful.
  168.  
  169.        If you are using 360K diskettes then you cannot fit all of the files
  170.        on one diskette.  The easiest way to handle this is to print the two
  171.        .DOC  files and keep the rest of the files on one disk.  You can use
  172.        the disk to create a personalized version of RE and copy that RE.EXE
  173.        to your work disks.
  174.                                          
  175.  
  176.                                         r-4
  177.      GENERAL INFORMATION
  178.  
  179.        The    general flow of RE is: start the program; load a disk file into
  180.        memory  or start with no data; update the in-memory data; and output
  181.        the data to disk.
  182.  
  183.        To start RE from the DOS prompt, type RE and press enter.  This will
  184.        start with an empty    file.  If you prefer to start with an old file,
  185.        type RE and the file name at the DOS prompt.  The display must be in
  186.        80 (or greater) column mode or RE will not start. If this is not the
  187.        case, use the  DOS MODE command  to set it (MODE CO80, MODE BW80, or
  188.        MODE MONO).
  189.  
  190.        To  save your  data and exit from RE, use  the S (Save) and Q (Quit)
  191.        commands, described below.
  192.  
  193.        You interface with RE in one of four ways.  The first way is through
  194.        the letter and number keys. The screen and computer memory will echo
  195.        your input at the cursor location.  The cursor is  seen as a  bright
  196.        block behind a character or a  highlighted underscored character (on
  197.        a digital monochrome display).
  198.  
  199.        The second way is through function keys.  These keys perform various
  200.        often used functions.  They    include the  cursor movement  keys, the
  201.        enter, insert, and delete keys, many alt and  ctrl shifted keys, and
  202.        others.  These  keys  and  their  functions    are  described    in  the
  203.        FUNCTIONS section.  To  get started,  try the  alt-n key (for  a new
  204.        line)  and the  cursor movement keys.  Some function keys do  two or
  205.        three   functions,  sometimes  depending   on  cursor   position  to
  206.        distinguish which function  to do  and  sometimes requiring multiple
  207.        presses to  do a specific function.    Examples are split line  / join
  208.        lines and center / left side / right side. This minimizes the number
  209.        of keys that you need to remember.
  210.  
  211.        The third way  is  through commands.  You enter commands  on the top
  212.        line of the screen  (the command  line) and execute them by pressing
  213.        the enter key.  They  include functions that  require  the entry  of
  214.        names, numbers,  or options.  Examples are edit a file, save a file,
  215.        and find  a    string.  These    are  described in the COMMANDS section.
  216.        Important commands for getting started are: E file to edit a file; S
  217.        to save a file; and Q to quit.
  218.  
  219.        The fourth way is  menus.  When a menu is displayed you can move the
  220.        selection  bar to any item with  the cursor keys and select the item
  221.        with the enter key.    If one of the letters in an item is capitalized
  222.        then that item can be immediately  selected    by pressing the letter.
  223.        Esc backs  out of the menu and PgUp and PgDn display the previous or
  224.        next  menu.    Menu functions are  referred to  here with the key that
  225.        displays  the  menu    followed   by  the  item   name,   for    example
  226.        f2-Directory.
  227.  
  228.        RE is described in this manual but  the  best way to learn RE is  by
  229.        using it.  If an explanation is not    clear, please try the function.
  230.        Do not be afraid to experiment.
  231.                                          
  232.  
  233.                                         r-5
  234.        A short RE session to  create a  new file looks like this.  Function
  235.        keys are enclosed in "(" and ")". From DOS:
  236.  
  237.          re program.pas (enter)         start with an empty file
  238.          (csr dn) (csr dn)             move cursor to first blank line
  239.          program add; (enter)         enter text
  240.          var i: integer; (enter)         .
  241.          begin (enter)             .
  242.          i:=16+4; (enter)             .
  243.          end.                 .
  244.          (esc) s (enter)             save file to program.pas
  245.          q (enter)                 return to DOS.
  246.  
  247.        A short session to modify this file looks like this. From DOS:
  248.  
  249.          re program.pas (enter)         start RE and read file
  250.          (csr dn) (csr dn) (csr dn)      move cursor
  251.          (csr rt) (csr rt) (csr rt)      .
  252.          (csr rt) (csr rt)             .
  253.          (ins)                 toggle to insert mode
  254.          ,j                  insert new text
  255.          (csr dn) (csr dn) (alt-n)         move cursor and insert new line
  256.          j:=i+6;                 enter text
  257.          (esc) sq (enter)             save file to program.pas and quit.
  258.                                          
  259.  
  260.                                         r-6
  261.      HELP
  262.  
  263.        RE's help system is invoked with f1-Help_system or alt-f1.  The help
  264.        item on  each  menu and alt-f1  from a menu start the help system on
  265.        the page specific to the menu.
  266.  
  267.        The help  system may be paged  through with pgup, up, pgdn, and down
  268.        or any specific page may be selected with  its page    letter.  Esc or
  269.        alt-f1 backs out of the help system.
  270.  
  271.        The help system has explanations  for RE's functions  and it will be
  272.        useful  to  help learn  and    use  RE.  But  it does not replace this
  273.        reference.
  274.  
  275.      ENTERING TEXT
  276.  
  277.        You    enter text in RE just like most other programs - text is echoed
  278.        at  the cursor position and the  cursor is moved in preparation  for
  279.        the next character.    There are a few devices that help  to make room
  280.        for your text.  These only work in the text area, not on the command
  281.        line.  The first is    word wrap, which  is a common feature that lets
  282.        you enter text continuously. The word wrap feature inserts new lines
  283.        and    moves words that cross the margins so that the text fits within
  284.        the margins.  See  WORD  WRAP MARGINS COMMAND  to set the  word wrap
  285.        margins.
  286.  
  287.        RE  does word wrap only when you type a character in the  right word
  288.        wrap column    and  then  type  another  character.  After  the  first
  289.        character  has been    entered,  a  "w"  appears on  the  status line.
  290.        Anything other than a character cancels the word wrap.  The new line
  291.        caused by  a word wrap starts in the left word wrap column.    You are
  292.        not prevented from entering text outside the word wrap margins.
  293.  
  294.        In  the word wrap state (after entering a character in the word wrap
  295.        column), if the right word  wrap column is at the edge of the screen
  296.        then the cursor does not make its usual move, but if you continue on
  297.        and cause the word wrap then the cursor  is adjusted before entering
  298.        the next character.    This lets you keep the right margin at the edge
  299.        of the screen.
  300.  
  301.        RE does an automatic horizontal screen scroll when  two  consecutive
  302.        characters  are typed at the right  edge of    the screen.  After  the
  303.        first character is  entered, an "s" appears    on the    status line and
  304.        the cursor does not move. The second character will follow the first
  305.        after the scroll.
  306.  
  307.        When you enter a character on  the "Top ---" or "Bottom ---" line, a
  308.        new line is automatically inserted and  the cursor is  moved to that
  309.        line before the character is entered.
  310.                                          
  311.  
  312.                                         r-7
  313.      FUNCTIONS
  314.  
  315.        A function is executed by pressing its  associated  key or selecting
  316.        the appropriate  menu  item.  The  following  is a list  of    labeled
  317.        function  keys.  The  use of these keys is generally compatible with
  318.        their use in other programs.
  319.  
  320.          The cursor movement keys (arrow keys) move the cursor one space in
  321.          the  direction indicated by the arrows.  The cursor skips over the
  322.          status  line  (line  2),  and  wraps  around  the    screen    in  all
  323.          directions. In typematic mode, horizontal cursor movement is three
  324.          spaces at a time.
  325.  
  326.          The home key (or  f4-Start_of_line) moves the cursor to  the first
  327.          nonblank character on a  line.  On a blank line the cursor will be
  328.          moved to column 1. If the target column is off the current screen,
  329.          the screen will scroll to show the cursor.
  330.  
  331.          The end key  (or  f4-End_of_line)    moves the cursor to  the  space
  332.          after the last nonblank character on a line.  On a blank line, the
  333.          cursor  will be moved  to column  1.  The screen will  scroll,  if
  334.          needed, to show the cursor.
  335.  
  336.          The forward and backward tab keys move the cursor to the  next and
  337.          previous tab position.  The screen will scroll, if needed, to show
  338.          the  cursor.  The    tab  positions    are  set  with    the T  command,
  339.          described in the TAB COMMAND section. These keys do not insert tab
  340.          characters or blanks in the file. They only move the cursor.
  341.  
  342.          The backspace key deletes the character to the left of the  cursor
  343.          and moves everything that is on and to the right of the cursor one
  344.          space left. The screen will automatically scroll if needed.
  345.  
  346.          The  delete  key deletes the character at the  cursor position and
  347.          moves  everything    that is  to  the right    of the cursor one space
  348.          left.
  349.  
  350.          Caps lock toggles between caps lock mode and lowercase mode.
  351.  
  352.          The insert key toggles between replace and insert mode. In replace
  353.          mode text keys replace the character at the cursor. In insert mode
  354.          text keys insert characters at the cursor, pushing the rest of the
  355.          line to the right.
  356.  
  357.          The  escape key toggles the cursor  between the text  area and the
  358.          command line.  If the cursor is in the text  area then it is moved
  359.          to the start of the command line.    If the cursor is on the command
  360.          line then it is moved to its  last position in the text area or as
  361.          close to  that  position as possible without scrolling the screen.
  362.          The cursor can  also be moved  on or off the command line with the
  363.          cursor up and down keys.
  364.                                          
  365.  
  366.                                         r-8
  367.          The  enter key either executes  a command or moves the  cursor  to
  368.          column 1 of the next line and scrolls the screen  to column 1.  If
  369.          the cursor is on the command line and the command line is nonblank
  370.          then enter executes the command. If the cursor is in the text area
  371.          and the first nonblank character on the  command line is 'F', 'f',
  372.          'C', or  'c' then enter  executes    the  command.  Otherwise  enter
  373.          causes the cursor return function described above.
  374.  
  375.          The page up key (or f4-scroll_Up) scrolls the screen view up.  The
  376.          number of lines scrolled is such  that  the cursor is moved to the
  377.          bottom  of  the  screen or one full  screen minus    one line if the
  378.          cursor is already at the bottom or on the command line.
  379.  
  380.          The  page down key (or f4-scroll_Down) is similar to page    up, but
  381.          it moves the screen view down.
  382.  
  383.          The ctrl-backspace key  (or  f1-delete_line)  deletes the    current
  384.          line. This will not work on an excluded line. On the command line,
  385.          ctrl-backspace blanks the line.
  386.  
  387.          The  ctrl-home and ctrl-end keys (f4-Top_of_file,    f4-Bot_of_file)
  388.          scroll to the top and bottom of a file.
  389.  
  390.          The ctrl-left and ctrl-right keys (f4-scroll_lf_1, f4-scroll_rt_1)
  391.          scroll the screen view left and right one column.
  392.  
  393.          The  ctrl-page  up  and  ctrl-page   down     keys  (f4-scroll_up_1,
  394.          f4-scroll_dn_1) scroll the screen view up and down one line.
  395.  
  396.          The  break key  (ctrl-break on a PC or fn-break on a PCjr) cancels
  397.          printing, sorts, finds, changes, and macros.  No other function in
  398.          RE is interruptible.
  399.  
  400.        All other function keys are obtained by pressing and holding the alt
  401.        key and then pressing one of the letter or number keys.
  402.  
  403.          Alt-a (f1-Ascii_code) lets you enter an ASCII code. After pressing
  404.          alt-a,  enter three digits, representing a number from 0  to  255.
  405.          You  must    enter  three digits.  Use leading zeros to  get numbers
  406.          below 100.  The character represented by this code will  be put in
  407.          your file as if you had  typed  it.  The alt-a function  lets  you
  408.          enter characters  that, if  typed from the keyboard,  would  cause
  409.          various RE functions rather than  being interpreted as characters.
  410.          For  example,  ASCII 13 is interpreted  as  the  enter key, but by
  411.          entering  alt-a 013, you  may put it  in your file.  (note: Do NOT
  412.          press alt while entering your ASCII  code, and if    you wish to use
  413.          the numeric keypad instead of the top row numbers you must use the
  414.          shift key or be in num lock mode.)
  415.  
  416.          Alt-e (f2-Edit_file) edits a file in a new edit session.  The file
  417.          name is specified by the cursor position.    The cursor must be on a
  418.          character in the  file  name, and    the file name  is  delimited by
  419.          blanks or the  left or right end of the  line.  This function puts
  420.          the corresponding edit command  on  the command line and therefore
  421.          destroys any text on the command line.
  422.                                          
  423.  
  424.                                         r-9
  425.          Alt-h  (f3-Highlight_csr) highlights the  cursor  by causing it to
  426.          blink.  The highlighting will disappear after 10 blinks or at  the
  427.          next keystroke.
  428.  
  429.          Alt-k (f1-Erase_end_line) erases from the cursor to the end of the
  430.          line.
  431.  
  432.          Alt-n (f1-New_line) adds a new blank line below the cursor.
  433.  
  434.          Alt-q (f2-Next_session) moves the screen to the  next edit session
  435.          in the session ring.
  436.  
  437.          Alt-r  (f1-Reshow) redisplays the current    line from  the    data in
  438.          memory,  if the cursor is on a  text line.  If  the cursor is on a
  439.          group of excluded lines, then these lines are shown (unexcluded).
  440.  
  441.          Alt-s (f1-Split/join) is  the  split/join function.  If  you press
  442.          alt-s and    there are nonblank characters on or to the right of the
  443.          cursor, then the line will  be split at the cursor position.  This
  444.          includes  characters  that  have been pushed off  the right of the
  445.          screen. If there are only blanks on and to the right of the cursor
  446.          then the line below the current line will be joined to the current
  447.          line at the cursor position. Leading blanks on the joined line are
  448.          removed.  If a line to be    joined will not fit, you  will    get  an
  449.          incorrect cursor position message.
  450.  
  451.          Alt-y (f3-Recall_cmd_up) moves the cursor to the command  line and
  452.          recalls  commands.   Your    last   sixteen     commands   are  saved.
  453.          Consecutive presses of alt-y restores them in reverse order.
  454.  
  455.          Alt-- (alt dash)  (f4-scroll_Left) scrolls  the  screen view left,
  456.          such that the current cursor column is moved to right  edge of the
  457.          screen.
  458.  
  459.          Alt-= (f4-scroll_Right)  scrolls the screen view right,  such that
  460.          the current cursor column is moved to screen column 1.
  461.  
  462.          Alt-7 (f4-up_outline) moves  the cursor up  to the  next line that
  463.          starts on or to the left of the cursor.
  464.  
  465.          Alt-8  (f4-down_outline) moves  the cursor  down to the  next line
  466.          that starts on or to the left of the cursor.
  467.  
  468.        There  are  more  functions described  in  the sections on  area and
  469.        position marks, the find and  change commands, the exclude and  flow
  470.        functions,  line drawing function,  windows,  memory management, and
  471.        help.
  472.                                          
  473.  
  474.                                        r-10
  475.      COMMANDS
  476.  
  477.        Enter commands on the top line of the screen  (this is also referred
  478.        to as the command line). The esc key is a convenient way to move the
  479.        cursor  to the  command line.  The command will be executed when you
  480.        press the enter key.  If the cursor is on  the  command line and the
  481.        command line  is nonblank then  enter executes  the command.  If the
  482.        cursor is in  the data area and the first  nonblank character on the
  483.        command line is  'F', 'f',  'C',  or 'c'  then  enter  executes  the
  484.        command. Otherwise enter causes the cursor return function.
  485.  
  486.        The    length of the command line is the width of the screen.    It does
  487.        not scroll.
  488.  
  489.        In the  command  descriptions here  "("  and  ")"  enclose  optional
  490.        parameters.    "/"  separates    mutually  exclusive parameters.  Option
  491.        characters may follow the command or may be attached  to the command
  492.        character ("S file Q" is the same as "SQ file").
  493.  
  494.        The RE commands are:
  495.  
  496.          C - change        - see CHANGE COMMAND
  497.          D - DOS shell       - see DOS SHELL COMMAND
  498.          E - edit           - see EDIT COMMAND
  499.          F - find           - see FIND COMMAND
  500.          N - name           - see NAME COMMAND
  501.          O - order lines       - see ORDER LINES COMMAND
  502.          P - print           - see PRINT COMMAND
  503.          Q - quit           - see QUIT COMMAND
  504.          S - save           - see SAVE COMMAND
  505.          T - tabs           - see TAB COMMAND
  506.          W - word wrap margins - see WORD WRAP MARGINS COMMAND
  507.          n - line number       - see LINE NUMBER COMMAND.
  508.                                          
  509.  
  510.                                        r-11
  511.      MENUS
  512.  
  513.        RE has 10  menus, accessed with f1 through f10.  Menus 2 through  10
  514.        may also  be  accessed from the  first  menu.  Help for each menu is
  515.        available from the "help" item.
  516.  
  517.        When a menu    is  displayed you can  move the  bar cursor to any item
  518.        with  the cursor keys and select the item with enter.  If one of the
  519.        letters in an item is capitalized then that item can be selected  by
  520.        pressing the letter key. Esc backs out of the menu and pgup and pgdn
  521.        display the previous and next menu.
  522.  
  523.        Each  menu  item  represents  an  RE  function,  command,  or  macro
  524.        (sequence of functions).  If the function is available directly from
  525.        a keystroke    then the key is noted with a "<" ("Split/join <a-s" can
  526.        also be invoked with the alt-s key).
  527.  
  528.        If a  menu  item  includes  a  *  then that item initializes  an  RE
  529.        command.  The * represents a string that  you  must enter (such as a
  530.        file name).    To execute the    command press the enter  key.  ("dir_*"
  531.        puts  "ed " on the command line and returns control to  you.  If you
  532.        enter *.pas and press enter you will get a list of .pas files).
  533.  
  534.        If an  item    is marked with    a diamond then    it represents a complex
  535.        macro that may remove your current area mark or pending command.
  536.  
  537.        Displaying (or  escaping  from) a menu does    not change the state of
  538.        RE.    Any displayed message  remains and  any transient  state stays.
  539.        Selecting an item is the same as using a function key.
  540.  
  541.        The Basic menu (f1) lets you select any other menu, the help system,
  542.        or the basic editing functions such as split/join and new line.
  543.  
  544.        The File, Print, DOS  menu (f2  or f1-File,print,dos) includes edit,
  545.        save, quit, session selection, print, and DOS shell functions.
  546.  
  547.        General (f3 or f1-General) has  general functions including    marking
  548.        an area or position, draw mode, and command recall.
  549.  
  550.        Position (f4 or  f1-Position) has functions    that  let you  set  the
  551.        cursor and screen position.
  552.  
  553.        Exclude (f5 or f1-eXclude) has line exclude functions.
  554.  
  555.        Document  Processing  (f6  or  f1-Document_proc)  contains  document
  556.        processing function such as flow, margins, tabs, date, and time.
  557.  
  558.        Find/Change (f7 or f1-fInd/change) has find and change functions.
  559.  
  560.        Modify Mark    Contents  (f8  or  f1-Mod_mk_contents)    has  area  mark
  561.        functions  that modify  the    contents  of  a mark such as  shifting,
  562.        centering, and uppercase.
  563.  
  564.        Copy,  Delete, Fill    Mark (f9 or f1-Copy,del,fill_mk) has area  mark
  565.        functions that copy, overlay, delete, or fill the mark.
  566.  
  567.        Order Lines (f10 or f1-Order_lines) contains line sorting functions.
  568.                                          
  569.  
  570.                                        r-12
  571.      EDIT COMMAND
  572.  
  573.        "E (file (C/G)(D)(N/T))" starts a new  edit session and reads in the
  574.        specified  file  (example:    E   PROGRAM.PAS   lets    you  edit  file
  575.        program.pas).  The  file name may be a complete  DOS file  name with
  576.        disk and  path names (see  FILE NAMES  for a complete description of
  577.        RE's file name criteria).  The C option says to check for a matching
  578.        file name in the current files, and    if found go to that session  or
  579.        if not found start a new session and read in the file.  The G option
  580.        is like the C option except it will fail if the  file is not already
  581.        in the session ring    (G means  go to  file).  The N option  says  to
  582.        handle tabs characters as normal characters.  The  T option says  to
  583.        expand tab characters on input (this is the default). Tab characters
  584.        that would cause a  line to    exceed 255 characters are not expanded,
  585.        and cause a line(s) too long message.
  586.  
  587.        If the D option is chosen then instead of reading a file, RE creates
  588.        a  directory list.  The specified file name is  used as  a  mask  to
  589.        screen files for inclusion in the list. If there is no "*" or "?" in
  590.        the file then "\*.*" or "*.*" is added to create the mask.  If the D
  591.        option is not chosen but the file (not the path) contains either "*"
  592.        or "?"  or ends  with "\" or  ":" then the D option is assumed.  The
  593.        file names in the directory list are sorted alphabetically (this can
  594.        be  turned off - see @SORTDIR in REPROF.DOC).  Subdirectories in the
  595.        file list are followed by "\*.*" and  are sorted  to the top of  the
  596.        list.  Time    and date formats  are  configurable (see  @TIMEFORM and
  597.        @DATEFORM). The file attributes are listed as "a" - archive bit set,
  598.        "r" - read only, "h" - hidden,  and "s" - system.  Hidden and system
  599.        files  are normally not shown but may be included (see @SHOWHIDSYS).
  600.        Alt-e  may be used to edit a file or subdirectory from a  file list.
  601.        An edit session with a directory list is the same as an edit session
  602.        with a file except the name on the status lines is not  a valid name
  603.        to  save the session to.  The files names may be used as a selection
  604.        list or may be used to create BAT files that act on the files.
  605.  
  606.        To find a match, the C and G options require an exact match. This is
  607.        easily tricked because  a  given  file  may    be  specified  in  many
  608.        different  ways  (temp  is  the  same  as  temp.   or  c:temp).  The
  609.        @exfilename    patch lets  you  standardize file  names  to  make this
  610.        option much more difficult to trick. However, since DOS lets you use
  611.        various utilities to refer to a given file with different names, the
  612.        C  option  will never  be  foolproof.  The @edcurfl patch  lets  you
  613.        default to the C option.
  614.  
  615.        Alt-e or  f2-Edit_file edits the file that  the  cursor is on.  This
  616.        lets you pick a file or subdirectory from a directory list.
  617.  
  618.        F2-Directory edits a list of files in the current directory. This is
  619.        the same as the command "E *.*" or "ED".
  620.  
  621.        F2-edit_* sets up an edit  command  and f2-dir_* sets up a directory
  622.        list command.
  623.                                          
  624.  
  625.                                        r-13
  626.      SAVE COMMAND
  627.  
  628.        "S  (file  (Q)(B/D/I)(T/N))"  saves    the data for  the  current edit
  629.        session (example:  S  PROGRAM.PAS saves the    current  data  to  file
  630.        program.pas, regardless  of    the  displayed    file name, S  saves the
  631.        current data  to  the  displayed  file).  The default  file    name is
  632.        displayed  on the status line.  You cannot use CON, AUX, COM1, COM2,
  633.        COM3, COM4, LPT1, PRN, LPT2, LPT3, or  NUL for the file name and you
  634.        cannot  use RE!, BAK, COM,  or  EXE for the file name extension (see
  635.        FILE NAMES  for  a complete description of RE's file name criteria).
  636.        You may substitute a * for the file to refer to the displayed file.
  637.  
  638.        The Q  option  is the same as a Save command and then a Quit command
  639.        except that    the message resulting  from  a successful save    appears
  640.        after the quit is finished.    If the save is not successful, then the
  641.        quit is not done.
  642.  
  643.        The process    used by RE  for saving a file to a file that exists  if
  644.        the B  (Backup) option is chosen or if no save type option is chosen
  645.        is:    delete the file with extension BAK;  save the data to file with
  646.        extension  RE!; rename  the original file with extension BAK; rename
  647.        the    file with extension RE!  to  specified    file  name.  If  the  I
  648.        (Indirect) option  is  chosen then  the process  is: save  to  .RE!;
  649.        delete  the    original file; and rename  .RE!  to  the specified file
  650.        name.  If the D (Direct) option  is chosen then  the file is written
  651.        directly.  This is not  as safe as the other  save types because the
  652.        original file is destroyed before the new one is written.
  653.  
  654.        When  saving  to  a    file  that does not exist, the    save  is always
  655.        directly to that file.
  656.  
  657.        The T  option  says    to  compress the  file    with tab  characters on
  658.        output.  The  N  option  (the  default)  says  to  not  do  any  tab
  659.        compression.
  660.  
  661.        The    Save command does not handle devices correctly (in general), so
  662.        if you  want  to write to a device instead of a file, use  the Print
  663.        command.
  664.  
  665.        F2-Save, and f2-sAve_+_quit invoke the S and SQ commands.
  666.  
  667.        Some hardware /  software setups (especially with disks formatted to
  668.        more than 32M) give very  slow saves with  RE's safe save system due
  669.        to very  slow file renames.    Using the D option should speed this up
  670.        considerably.   D  can  be  made  the  default,  see  @DEFSAVETP  in
  671.        REPROF.DOC.
  672.                                          
  673.  
  674.                                        r-14
  675.      QUIT COMMAND
  676.  
  677.        "Q" cancels an edit session WITHOUT saving  the  data.  If you  have
  678.        changed the data since your last save, then you will be prompted for
  679.        confirmation of the Quit command.  If there is only one edit session
  680.        then RE is ended and you will receive the DOS prompt.
  681.  
  682.        F2-Quit does a Quit command.
  683.  
  684.      NAME COMMAND
  685.  
  686.        "N file" resets the session file name. No change is made to any disk
  687.        file.  Only    the default file  name, used  by the  Save  command and
  688.        displayed on the status line, is changed.
  689.  
  690.        F2-name_* sets up a Name command.
  691.  
  692.      PRINT COMMAND
  693.  
  694.        "P (file/device (M)(X))" prints the current file, or an area mark in
  695.        the    current file if the M option is specified, to a file or device.
  696.        PRN, the default DOS printer, is the default device.  LPT2 and  LPT3
  697.        print to  the second  and third printers.  The  X option says to not
  698.        print   excluded   lines.   Break  cancels  printing  at   the  next
  699.        opportunity.
  700.  
  701.        When  printing to a printer or device,  after printing each line, RE
  702.        sends a carriage return and line  feed (ASCII 13, 10) to the printer
  703.        except if the last character of the last line printed is a form feed
  704.        (ASCII 12) then the line feed is suppressed.
  705.  
  706.        If  you specify a  file then  the data is written directly,    without
  707.        checking for  available  disk  space, making a backup,  or using any
  708.        safeguards.    If the Print command is successful then the new file is
  709.        the same as if it had been created with a Save command.
  710.  
  711.        The file/device name is not checked for correct syntax.
  712.  
  713.        F2-print,  f2-print_mark,   f2-print_unex_mark   invoke   the  Print
  714.        command.
  715.                                          
  716.  
  717.                                        r-15
  718.      MARKING AN AREA
  719.  
  720.        To  define  areas  on which    to  do several    functions, RE uses area
  721.        marks.  These marks define rectangular areas of text.  Only one area
  722.        mark may exist at any time.
  723.  
  724.        To use an area mark function,  you  must first mark an area of text.
  725.        There are many ways to do this.
  726.  
  727.          Mark a character with alt-b or f3-mark_Block.
  728.  
  729.          Mark two corners of a block with alt-b or f3-mark_Block.
  730.  
  731.          Mark a full line with alt-l or f3-mark_Line.
  732.  
  733.          Mark the first and last lines of a full line area mark  with alt-l
  734.          or f3-mark_Line.
  735.  
  736.          Mark a column with f3-mark_column.
  737.  
  738.          Mark the first and last columns of a group with f3-mark_Column.
  739.  
  740.          Mark the entire session with f3-mark_All.
  741.  
  742.          Mark  a block from  the cursor  to  column  1  or 255  with  alt-b
  743.          (f3-mark_Block) and then alt-l (f3-mark_Line). If the cursor is to
  744.          the left of the mark when you press alt-l then the mark is  filled
  745.          out to column 1, otherwise it is filled out to column 255.
  746.  
  747.          Mark a block from the cursor to the top or bottom line with  alt-b
  748.          (f3-mark_Block) and then f3-mark_Column.  If the cursor is to  the
  749.          above the mark when  you do f3-mark_Column then the mark is filled
  750.          out  to the top line,  otherwise  it  is filled  out to the bottom
  751.          line.
  752.  
  753.          Mark a block with the same columns as the previous mark but with a
  754.          new  set  of  lines  with    alt-l  (f3-mark_Line)  and  then  alt-b
  755.          (f3-mark_Block).  This  is  useful  for flowing  several different
  756.          paragraphs to the same margins.  If you have set word wrap margins
  757.          to  something  other than 1 and 255  then alt-l  alt-b  sets these
  758.          margins.
  759.  
  760.          Mark a full column mark with the same columns as the previous mark
  761.          with f3-mark_column and then alt-b  (f3-mark_Block).  If you  have
  762.          set word wrap  margins  to something other  than 1  and  255  then
  763.          f3-mark_column alt-b sets these margins.
  764.  
  765.          Mark a full line mark from the  cursor to the top or bottom of the
  766.          file with alt-l  (f3-mark_Line) and  then    f3-mark_column.  If the
  767.          cursor is    above the initial mark when  you do f3-mark_column then
  768.          the  mark is extended to the  top    of  the  file, otherwise  it is
  769.          extended to the bottom of the file.
  770.  
  771.          Mark  a full column  mark from the cursor    to column 1 or 255 with
  772.          f3-mark_column and then alt-l (f3-mark_Line).  If the cursor is to
  773.          the left of the initial mark when you press alt-l then the mark is
  774.          extended to column 1, otherwise it is extended to column 255.
  775.                                          
  776.  
  777.                                        r-16
  778.        A marked area is highlighted by either underscores or a blue or gray
  779.        background (depending on the display  and display mode).  If an area
  780.        mark covers    columns 1  through  255,  then it  is a  line area mark
  781.        (regardless of how it was created).
  782.  
  783.        Alt-u (or f3-Unmark) unmarks an area mark.
  784.  
  785.        If an area mark exists and you attempt to create a new one, you will
  786.        get the "Area mark  already    exists" message.  When    this message is
  787.        present, and you repeat the function, the first area is unmarked and
  788.        the requested function works as usual.
  789.  
  790.        F3-mark_block_resize, f3-mark_line_resize, f3-mark_column_resize are
  791.        similar  to the functions explained above, except that when there is
  792.        a complete area and you use the  resize functions, they  will modify
  793.        the    area  mark instead  of    giving the  "Area mark    already exists"
  794.        message.  F3-mark_block_resize updates one corner of the  area mark.
  795.        F3-mark_line_resize    extends or  shrinks the  area mark to cover the
  796.        current  line, leaving the margins unchanged.  F3-mark_column_resize
  797.        extends  or    shrinks the  area mark    to  cover  the    current column,
  798.        leaving the covered    lines  unchanged.  Shrinkage is done  initially
  799.        from the closest side or corner of the mark. Repeating the functions
  800.        cycles through the possibilities of new area marks.
  801.                                          
  802.  
  803.                                        r-17
  804.      OPERATING ON AN AREA MARK
  805.  
  806.        The following are the basic area mark functions.
  807.  
  808.          Alt-c (f9-Copy_lines) copies all lines in    a line area  mark after
  809.          the cursor line.
  810.  
  811.          Alt-d deletes the contents of an area mark.  Full    line marks  are
  812.          deleted and the lines removed.  Blocks are deleted and the columns
  813.          to  the  right of the mark  are shifted left.  F9-delete_lines and
  814.          f9-delete_block  do  the same  function  but  require  a  specific
  815.          choice.
  816.  
  817.          Alt-g moves the cursor to the position mark and,  on a consecutive
  818.          press, to the area mark, and then on another press,  to the bottom
  819.          of the  area  mark.  F4-go_Ar_mk_ul  and  f4-go_ar_mk_ll  move the
  820.          cursor to the upper left and lower left corners of the mark.
  821.  
  822.          Alt-i (f9-Insert)    inserts the marked area at the cursor location,
  823.          shifting  current text to the right.  If data will  be pushed past
  824.          column  255  (and    therefore lost) then you are given an  are your
  825.          sure prompt.  In general if  the  cursor position is such that the
  826.          contents of the area mark would be changed by  this operation then
  827.          it is not allowed. An area can be inserted to the left of the mark
  828.          if the cursor is aligned with the top  of the mark.  In  this case
  829.          the mark is moved to cover the same text as before the operation.
  830.  
  831.          Alt-m (f9-Move lines) moves all lines  in    a line    area mark after
  832.          the cursor line.
  833.  
  834.          Alt-o  (f9-Overlay)   overlays  the  marked  area    at  the  cursor
  835.          location.    If  data will be overlayed past column 255 then you are
  836.          given an are your sure prompt. If the cursor position is such that
  837.          the contents of the area mark would  be changed  by this operation
  838.          then it is not allowed.
  839.  
  840.          F9-merge  overlays  the marked area at  the cursor  only where the
  841.          target area is blank.  If the cursor  position  is  such that  the
  842.          contents of the area mark would be changed by  this operation then
  843.          it is not allowed.
  844.  
  845.          Alt-v horizontally centers the contents of an area mark within the
  846.          area mark.  Another (consecutive) press of alt-v moves the text to
  847.          the left side of the area mark (line by line). A third consecutive
  848.          press of  alt-v moves the text to the right side of the area mark.
  849.          F8-Center,   f8-Left_side,  and  f8-Right_side  provide  the  same
  850.          function.
  851.  
  852.          Alt-4 (f9-blank) blanks the marked area.
  853.  
  854.          F8-Upper  and f8-Lower uppercase and lowercase the text within the
  855.          area mark.
  856.  
  857.          F8-upper_First  uppercases  the first letter  of each  word in the
  858.          mark.
  859.                                          
  860.  
  861.                                        r-18
  862.          F8-shift_up shifts text within the area mark up one line.    If data
  863.          will be lost at the edge of the mark then you will be given an are
  864.          you sure prompt.  Repeated presses do not give this  prompt (after
  865.          the first affirmative answer).
  866.  
  867.          F8-shift_down shifts text within the area mark down one line.
  868.  
  869.          Alt-9  (f8-shift_left)  shifts  text within the area mark left one
  870.          column.
  871.  
  872.          Alt-0  (f8-shift_right) shifts text within the area mark right one
  873.          column.
  874.  
  875.        Each of  these functions has  an  equivalent  function that operates
  876.        only  on unexcluded lines.  They are available on the menus and  are
  877.        labeled with  "unex".  With    the  overlay and insert functions, only
  878.        excluded lines  from the marked area are ignored.  Excluded lines in
  879.        the target area are treated as usual.
  880.  
  881.        The    horizontal and vertical  shift functions,  the    upper and lower
  882.        case  functions, the fill  functions,  and the non-line area  delete
  883.        function may only be done when some part of the area  mark is in the
  884.        current window. If you try to delete a line area mark that is not in
  885.        the current window, you will be prompted for confirmation.
  886.  
  887.        Area  marks are  also  used in  conjunction    with the  Find, Change,
  888.        Print,  and    Order  commands,  and  the  flow,   exclude,  and  fill
  889.        functions.
  890.                                          
  891.  
  892.                                        r-19
  893.      FILL AREA FUNCTIONS
  894.  
  895.        Alt-3 (F9-fill_nm_line) fills  the  marked  area with a numeric line
  896.        pattern.  To  fill an area mark from the cursor to the bottom of the
  897.        mark with a line pattern, enter the pattern and press Alt-3.  If the
  898.        cursor  is on a number then    the  number will  be incremented in the
  899.        cursor column on each succeeding line.
  900.  
  901.        Alt-5 (F9-fill_block_pat) fills the marked area with  a  rectangular
  902.        pattern.  To use this function,  enter the fill pattern in the upper
  903.        left  corner  of  the mark,    position the  cursor on the lower right
  904.        corner of the pattern, and press Alt-5.
  905.  
  906.        The cursor may not be on an excluded line during a fill function.
  907.  
  908.        For example:
  909.  
  910.          block pattern        numeric line pattern
  911.  
  912.          z______  abc____        ____36.  _A00007  _____70  ____x70    abcd___
  913.          _______  def____        _______  _______  _______  _______    efghij_
  914.          _______  _______        _______  _______  _______  _______    lmnopqr
  915.          _______  _______        _______  _______  _______  _______    _______
  916.          _______  _______        _______  _______  _______  _______    _______
  917.  
  918.          cursor position:
  919.  
  920.          on z     on f        on 6     on 7     on 7     on 7    on l
  921.  
  922.          yields:
  923.  
  924.          zzzzzzz  abcabca        ____36.  _A00007  _____70  ____x70    abcd___
  925.          zzzzzzz  defdefd        ____37.  _A00008  _____80  ____x80    efghij_
  926.          zzzzzzz  abcabca        ____38.  _A00009  _____90  ____x90    lmnopqr
  927.          zzzzzzz  defdefd        ____39.  _A00010  ____100  ____x00    lmnopqr
  928.          zzzzzzz  abcabca        ____40.  _A00011  ____110  ____x10    lmnopqr
  929.  
  930.        The    next to last example  gives a  "Numeric  fill overflow" message
  931.        since RE will not overwrite    the "x".  Only blanks and  0..9 will be
  932.        overwritten.
  933.  
  934.        These  functions   will   ignore   excluded     lines     if   you   use
  935.        F9-fill_num_ln_pt_unex and F9-fill_block_pat_unex.
  936.  
  937.        The numeric line pattern fill is useful when using the line ordering
  938.        command  to preserve  the original order of lines.  Before doing any
  939.        sorting, number all lines. Then to get the original order back, sort
  940.        on these numbers.
  941.                                          
  942.  
  943.                                        r-20
  944.      LINE EXCLUDE FUNCTIONS
  945.  
  946.        The line  exclude function is  used to hide lines from the  display.
  947.        These lines are not deleted from the file, only from the display.  A
  948.        hidden  line or set of lines is seen on the screen as a dashed  line
  949.        followed by the number of hidden lines. The leftmost nonblank column
  950.        of each hidden line is marked with a plus sign on top  of the dashed
  951.        line.
  952.  
  953.        Alt-x (or  f5-ex_mark_indent) is  the exclude  lines  by indentation
  954.        function.  It is used both to exclude and reshow lines, depending on
  955.        the    position of the  cursor  and the  margins of the area mark.  To
  956.        exclude or reshow  a group of  lines,  first mark  the lines with an
  957.        area mark.  Then position the cursor and press alt-x.  If the cursor
  958.        is inside  the  area  mark  then  all lines whose  leftmost nonblank
  959.        character within  the mark is  at or to  the right of the cursor are
  960.        excluded  (hidden).    All  other  lines are shown.  If  the cursor is
  961.        outside the mark then all lines in the mark are  shown.  Blank lines
  962.        are excluded as if they had a nonblank character in column 256.
  963.  
  964.        F5-ex_Indent excludes the  entire  file by  indentation  (as  if the
  965.        entire file were covered with an area mark).
  966.  
  967.        F5-ex_mark_para  is    the exclude  lines by  paragraph  function.  It
  968.        causes  all    lines that  are nonblank within the  area  mark and are
  969.        preceded  by lines that are blank  within  the area mark to be shown
  970.        and all others in the mark to be excluded. If you leave a blank line
  971.        between each paragraph or subroutine, then this functions compresses
  972.        the file  view by  showing only the first  line in each paragraph or
  973.        subroutine.
  974.  
  975.        F5-ex_Para excludes the entire file by paragraph.
  976.  
  977.        F5-show_Changes shows all modified and new lines (since the start of
  978.        the session). This function acts on the entire file.
  979.  
  980.        F5-Show_all unexcludes the entire file.
  981.  
  982.        F5-show_Mark  unexcludes  all  lines in  the  area mark.  F5-ex_mark
  983.        excludes all lines in the area mark.
  984.  
  985.        F5-Reverse_ex  and  f5-reverse_ex_mark  reverse  the  excluded  line
  986.        status of each line in the file or mark.
  987.  
  988.        Alt-r (or f5-reshow) reshows all lines in a set of excluded lines.
  989.  
  990.        F5-ex_One_line excludes the line that the cursor is on.
  991.  
  992.        F5-unex_First_line  and  f5-unex_Last_line unexclude  the  first and
  993.        last lines from an excluded group.
  994.  
  995.        F5-ex_children excludes  all lines below the current  line up to the
  996.        next line that  starts at or to the left of the start of the current
  997.        line.
  998.  
  999.        Alt-6 excludes children on  the first press and unexcludes them on a
  1000.        consecutive press.
  1001.                                          
  1002.  
  1003.                                        r-21
  1004.        F5-unex_one_level reexcludes an excluded group  by  indentation with
  1005.        the cursor one character  to the right  of  the start  of the group.
  1006.        This is a macro that uses the area mark.
  1007.  
  1008.        F5-show_*  and  f5-show_mark_*  set    up  find  commands  to    exclude
  1009.        everything  except the string that you  enter.  You must press enter
  1010.        after entering the string.
  1011.  
  1012.        F5-ex_unex_mark_indent works  like  alt-x  except  that  it    ignores
  1013.        excluded lines.
  1014.  
  1015.        The home and end keys look for the leftmost and rightmost characters
  1016.        in a set of excluded lines.    All of the area mark functions    work on
  1017.        excluded lines just like they work on normal lines, except that when
  1018.        you    mark an excluded line, all  of the lines in the set represented
  1019.        by the  dashed line are included in the area mark.  The alphanumeric
  1020.        keys, del, backspace, split/join, erase end of line, and enter ASCII
  1021.        code, do not work on excluded lines.
  1022.  
  1023.        Several  RE    commands have options that let    you work  with excluded
  1024.        lines or ignore the lines.  See  the X options of the  Find, Change,
  1025.        Order, and Print  commands.    In  addition,  most  of  the area  mark
  1026.        functions,  except  the  text flow functions,  have versions labeled
  1027.        "unex" that ignore excluded lines.
  1028.  
  1029.        The    Find  command is important to making best use of excluded lines
  1030.        because  when  a  string  is  found,  the  line  that  it  is on  is
  1031.        unexcluded.    The  All, Show all, and Hide all options are  useful in
  1032.        getting the proper lines excluded.
  1033.  
  1034.        The line exclude functions are very useful.    Below is a list of some
  1035.        techniques that you may find helpful.
  1036.  
  1037.          The line  exclude function lets you compress the view of a file by
  1038.          hiding lines that are low in the hierarchy of function. You should
  1039.          design your coding  indentation method to    take  advantage of this
  1040.          function.    To  compress the view of your entire file, by excluding
  1041.          all lines that do not start in column 1, move the cursor to column
  1042.          2 in the text area and do f5-ex_Indent. For example:
  1043.  
  1044.            (* proc1 .. *)            --->     (* proc1 .. *)
  1045.           procedure proc1;                +-+----------..-- 7
  1046.           var i: integer;             (* proc2 .. *)
  1047.           begin                     +-+----------..-- 6
  1048.             i:=1;
  1049.             .
  1050.             .
  1051.           end;
  1052.            (* proc2 .. *)
  1053.           procedure proc2;
  1054.           var i: integer;
  1055.           begin
  1056.             .
  1057.             .
  1058.           end;
  1059.                                          
  1060.  
  1061.                                        r-22
  1062.          BASIC  programs may be similarly shown.  For example, to show  the
  1063.          subroutine structure of the program on the left:  move  the cursor
  1064.          to column 5  in  the text    area  and do  f3-mark_Column  and  then
  1065.          f3-mark_Line (or alt-l); position    the  cursor in the area mark on
  1066.          column 7; and press alt-x (or f5-ex_mark_indent).
  1067.  
  1068.            1000 'MAIN ROUTINE      --->      1000 'MAIN ROUTINE
  1069.            1010   GOSUB 2000          +----------------------..-- 4
  1070.            1020   GOSUB 3000          2000 'GET DATA
  1071.            1030   GOSUB 4000          +----------------------..-- 2
  1072.            1040   STOP              3000 'CALCULATE RESULTS
  1073.            2000 'GET DATA              +----------------------..-- 2
  1074.            2010   .               4000 'OUTPUT RESULTS
  1075.            2020   .               +----------------------..-- 2
  1076.            3000 'CALCULATE RESULTS
  1077.            3010   .
  1078.            3020   .
  1079.            4000 'OUTPUT RESULTS
  1080.            4010   .
  1081.            4020   .
  1082.  
  1083.          To  add  confidence  to moves of large blocks of text, exclude the
  1084.          middle lines of the  block.  This    lets you view the  entire block
  1085.          while doing the move.
  1086.  
  1087.          Another  use  of  the  line exclude  function  is    to  help column
  1088.          manipulation.  If you want to  move columns of text,  exclude  all
  1089.          lines of the column except the first and last.  Then it is easy to
  1090.          put an area mark around an entire column.
  1091.  
  1092.          Suppose you want to find the  rightmost character in  a  group  of
  1093.          lines.  Mark the group with a  line area  mark and  do f5-ex_mark.
  1094.          This  excludes all lines in the group.  Then press end to move the
  1095.          cursor to    the blank after  the rightmost character.  Press alt-u,
  1096.          alt-b, cursor left, alt-b, cursor right, and alt-x. All lines with
  1097.          characters in the rightmost position will be unexcluded (this will
  1098.          not work if the rightmost character is in column 255).
  1099.  
  1100.          The  line exclude function is  also useful for matching  BEGIN and
  1101.          END statements in the case  of missing or extra END statements (in
  1102.          Pascal). Exclude statements between the lowest level BEGIN and END
  1103.          statements. Continue excluding statements between higher levels of
  1104.          BEGIN and END statements until you find your problem. You can also
  1105.          try the commands "fs begin" and then "fa end".
  1106.  
  1107.          If you want to re-exclude    an excluded group of lines,  but do not
  1108.          know what    level of indentation to use: put the cursor on the line
  1109.          and press alt-l; press  alt-r to reshow  the  lines but  leave the
  1110.          area mark; choose a cursor position; and press alt-x.
  1111.                                          
  1112.  
  1113.                                        r-23
  1114.          If you want  to sort a section of an outline, retaining sub-topics
  1115.          with  their  title  line,    exclude   the  sub-topics  (exclude  by
  1116.          indentation)  and    sort  with the    X option or f10-ascend_ex.  For
  1117.          example:
  1118.  
  1119.            title C      -->  title C          -->  title A     -->  title A
  1120.          line c1     +------- 3         +------- 1     line a1
  1121.          line c2       title A           title B          title B
  1122.          line c3     +------- 1         +------- 2     line b1
  1123.            title A           title B           title C        line b2
  1124.          line a1     +------- 2         +------- 3       title C
  1125.            title B                            line c1
  1126.          line b1                        line c2
  1127.          line b2                        line c3
  1128.                                          
  1129.  
  1130.                                        r-24
  1131.      POSITION MARK FUNCTIONS
  1132.  
  1133.        The alt-p key places the position mark under the cursor.  After  the
  1134.        cursor is moved,  the position mark    is  seen as a bright background
  1135.        (red on a color screen). The position mark may be placed in the text
  1136.        area only.
  1137.  
  1138.        The    position mark may be reset  at    any time by pressing alt-p.  To
  1139.        delete the  position mark, put  the    cursor    on top of the mark  and
  1140.        press alt-p.
  1141.  
  1142.        When the position  mark  is    in  the  current  edit session, and the
  1143.        cursor is on an editable or excluded line, then the width and height
  1144.        from  the position mark to the  cursor (inclusive)  are displayed on
  1145.        the status line in place of the file name.
  1146.  
  1147.        The alt-p and alt-g keys work  together to  provide a mark  position
  1148.        and go to marked position function. Alt-p sets the position mark. To
  1149.        return  to this  position from anywhere  within  RE except  the help
  1150.        system,  press alt-g (or f4-go_Pos_mk).  (A second press of alt-g or
  1151.        if  there is no position mark moves the cursor to the  area mark and
  1152.        then the bottom of the area mark.)
  1153.  
  1154.        If the cursor is  not on the position  mark then you  may delete the
  1155.        mark by  pressing  alt-p twice.  The first alt-p moves the  position
  1156.        mark under the cursor, and the second deletes it.
  1157.  
  1158.        F3-set_Pos_mk, f3-remove_ps_mk, and f4-go_Pos_mk provide menu access
  1159.        to these functions.
  1160.                                          
  1161.  
  1162.                                        r-25
  1163.      WORD WRAP MARGINS COMMAND
  1164.  
  1165.        "W ((col1) col2)" sets the word wrap margins. If the columns are not
  1166.        present  then 1 and 255 are assumed.  If just one column  is present
  1167.        then the left margin is set to 1.
  1168.  
  1169.        Word   wrap     margins  may  be  set    at  the  cursor  position  with
  1170.        f6-set_Left_margin and f6-set_Right_margin. And they may be set to 1
  1171.        and    70  with   f6-margin_1..70  or    reset    to   1    and   255  with
  1172.        f6-margins_Off. F6-Margins_*_* sets up a general W command.
  1173.  
  1174.        See ENTERING TEXT for a description of RE's word wrap function.
  1175.  
  1176.        When the word wrap margins are not 1 and 255, and you create an area
  1177.        mark  with  alt-l  alt-b, then  the mark  will span    the  word  wrap
  1178.        margins.
  1179.  
  1180.      TAB COMMAND
  1181.  
  1182.        The T command lets you specify what kind of tabs you want to use. "T
  1183.        (setnumber)"  sets the tab keys to use the specified tab set number.
  1184.        1 is the default which is an automatic  tab function.  Tab set 2 has
  1185.        tabs at 1, 9, 17, ... Tab sets 3 through 10 are not defined. See the
  1186.        REPROF.DOC to set these up as desired.
  1187.  
  1188.        "T col1 col2 .." sets conventional tabs at col1, col2, etc. You must
  1189.        use at least two columns so that  RE  recognizes that  you  are  not
  1190.        trying to set a tab set.
  1191.  
  1192.        "T A l c" sets  the    automatic  tab    looking  at l lines (1..8)  and
  1193.        maximum columns c (1..254). The default tab set 1 is A 4 8.
  1194.  
  1195.        In  automatic  tab mode, tab positions are determined by RE and  are
  1196.        based on word starts on the current line and a number of lines above
  1197.        the current line. The tab positions are:
  1198.  
  1199.          columns 1 and 255
  1200.  
  1201.          the start of every word on the current line
  1202.  
  1203.          the start of every word on the line above this if that position is
  1204.          not between  one  blank  to the left of a word on the current line
  1205.          and one blank to the right of a word on the current line and so on
  1206.          for each examined line above this
  1207.  
  1208.          a set number of columns in both directions from the cursor
  1209.                                          
  1210.  
  1211.                                        r-26
  1212.      BASIC FLOW FUNCTIONS
  1213.  
  1214.        The flow and right justify functions flow (or reflow ) the  words in
  1215.        a  set of lines,  so that  they  fill but do  not exceed  the  space
  1216.        between two columns.  Additionally, the first word may be positioned
  1217.        anywhere  from  column  one    to  the right column.  This allows  for
  1218.        indentation    of the first line of a paragraph, or outline numbers to
  1219.        the left of a flowed group.
  1220.  
  1221.        The flow into list function flows the words in a set of lines into a
  1222.        list so that each word is on a separate line.
  1223.  
  1224.        The alt-f key (or f6-flow_mark) is the flow function key.  To flow a
  1225.        group of lines, set an area mark  such that the  lines  to be flowed
  1226.        are contained between  the upper  and lower limits of area mark, and
  1227.        the left and right  margins are set with the left and right sides of
  1228.        area mark.  If you want a special position for the first word in the
  1229.        flow, move the cursor to  this  position  (on the first line  of the
  1230.        area mark). Then press alt-f.
  1231.  
  1232.        Alt-j and f6-rt_justify_mk  work exactly like  alt-f except that the
  1233.        text is right justified. Spaces are added evenly between words; then
  1234.        extra spaces are added at  random after periods, exclamation points,
  1235.        and    question  marks; and  then extra spaces  are  added randomly at
  1236.        other spaces.  Spaces are never added to spaces that are to the left
  1237.        of the area mark.
  1238.  
  1239.        Alt-t (or f6-flow_mark_list) is the flow into list function. To flow
  1240.        the words in  a group  of lines into a list,  set an  area mark such
  1241.        that the left  side of the mark is where you want the left margin of
  1242.        the list.  Words that are wider than the mark will be split, so make
  1243.        the mark wide enough  to handle all of the words (use alt-b alt-l to
  1244.        insure this). Then press alt-t.
  1245.  
  1246.        The flow functions will work only if the area mark is in the current
  1247.        window.  If your area mark is only one column wide, then you will be
  1248.        prompted for confirmation.
  1249.  
  1250.        If you  are    flowing a number of paragraphs (with the same margins),
  1251.        use    the alt-b alt-b key combination to  set the first area mark and
  1252.        then the  alt-l alt-b key combination to set successive  area marks.
  1253.        The alt-l alt-b key combination preserves your margins, reducing the
  1254.        keystrokes needed to set up the required area mark.
  1255.  
  1256.        Or if you set the  word wrap margins to other  than 1 and 255, alt-l
  1257.        alt-b sets up the area mark to match those margins.
  1258.  
  1259.        Flow and right justify functions that add an extra space at the  end
  1260.        of a sentence are  available,  but  are not    assigned in the default
  1261.        profile. See REPROF.DOC.
  1262.                                          
  1263.  
  1264.                                        r-27
  1265.        Here are three examples of the flow functions.
  1266.  
  1267.          If  you  have  a paragraph  in  broken  format or    with the  wrong
  1268.          margins, such as:
  1269.  
  1270.            Ravitz Editor (RE) is a general purpose full screen ASCII
  1271.          text    editor for the        IBM Personal Computer family.
  1272.            It requires an 80     column       (or greater), 256 Kbytes of
  1273.            memory,    and  DOS version   2.0 or higher.
  1274.  
  1275.          and you want it right justified between columns 7 and 70: move the
  1276.          cursor  to  the first line on column  7 and press    alt-b; move the
  1277.          cursor to the last line on column 70 and press alt-b; press alt-j.
  1278.          The result is:
  1279.  
  1280.            Ravitz Editor (RE) is a    general  purpose full screen ASCII text
  1281.            editor for the IBM Personal  Computer family.  It requires an 80
  1282.            column (or greater), 256 Kbytes of memory,  and    DOS version 2.0
  1283.            or higher.
  1284.  
  1285.          If  you  prefer  to indent the paragraph  five  spaces, follow the
  1286.          previous instructions, except  before you press  alt-j,  move  the
  1287.          cursor back to the first line on column 12. The result is:
  1288.  
  1289.             Ravitz Editor (RE) is a general purpose full  screen  ASCII
  1290.            text editor for the IBM Personal Computer family. It requires an
  1291.            80 column (or greater), 256  Kbytes  of memory,    and DOS version
  1292.            2.0 or higher.
  1293.  
  1294.          If you are doing a list, try the following. For this text:
  1295.  
  1296.            2)   Ravitz Editor (RE) is a
  1297.            general purpose full screen  ASCII
  1298.            text editor for the IBM Personal Computer family. It requires an
  1299.            80 column (or greater), 256
  1300.            Kbytes of memory, and DOS version
  1301.            2.0 or higher.
  1302.  
  1303.          Move  the    cursor to  the first line on column 10 and press alt-b;
  1304.          move  the cursor to the last  line on column  70 and  press alt-b;
  1305.          move the cursor  to the first line on  column 7; press alt-f.  The
  1306.          result is:
  1307.  
  1308.            2) Ravitz Editor (RE) is a general purpose full screen ASCII
  1309.           text editor for the IBM Personal Computer family. It requires
  1310.           an 80 column (or greater), 256 Kbytes of memory, and DOS
  1311.           version 2.0 or higher.
  1312.                                          
  1313.  
  1314.                                        r-28
  1315.      PARAGRAPH REFLOW FUNCTIONS
  1316.  
  1317.        F6-Flow_para and  f6-rt_Justify_para are  macros that do  everything
  1318.        necessary to flow  a  paragraph.  They  assume  that  paragraphs are
  1319.        delimited by blank lines, and mark the paragraph  that the cursor is
  1320.        in or  above based on either the word wrap margins or if the margins
  1321.        are 1 and  255 then based on the last area mark.  The indentation of
  1322.        the first line is at  the  cursor position.    After the  paragraph is
  1323.        reflowed,  the cursor is  moved below  it.  The current area mark is
  1324.        removed by these functions.
  1325.  
  1326.      DRAWING MODES
  1327.  
  1328.        Alt-z  rotates  between  the  three    drawing modes and normal  mode.
  1329.        Starting from normal editing  mode,    one  press of alt-z sets single
  1330.        line  drawing  mode.  Another  consecutive  press  sets  double line
  1331.        drawing  mode.  Another  consecutive  press sets  current  character
  1332.        drawing  mode.  And one  more  consecutive  press  returns to normal
  1333.        editing.  The drawing modes can only be set in the text area. In the
  1334.        line modes, the  PC    ASCII  line character set  is used.  In current
  1335.        character mode, the character that the cursor is on when the mode is
  1336.        invoked is the drawing character.
  1337.  
  1338.        Drawing modes may also be set from the f3 menu.
  1339.  
  1340.        In  the drawing modes, use the cursor keys to trace out  lines.  The
  1341.        drawing character is placed    at the current cursor position and then
  1342.        the cursor is moved in the direction  specified.  In the line modes,
  1343.        joints with other line  characters are done automatically  (but only
  1344.        after the cursor is moved from a position, not when it is moved to a
  1345.        position).  Any key    other  than  the cursor keys and  the set/reset
  1346.        position mark key returns you to normal editing mode.
  1347.  
  1348.        While there    are  only two  line modes, boxes with mixed  modes (for
  1349.        example  double  horizontal and single vertical, or double upper and
  1350.        left  and single lower  and right) may be  created by switching line
  1351.        drawing modes at the corners.
  1352.  
  1353.        One    note  on using mixed line modes may be useful.    If you    have  a
  1354.        double line    and you want to T into it with a single line, bring the
  1355.        cursor up  to the line and then  move it back in the direction  from
  1356.        which it came to complete the joint.
  1357.  
  1358.                 ║              ║            ║
  1359.                 ║              ║            ║
  1360.          cursor line              ║     cursor line    ║
  1361.              ───────   cursor line ───────             ───╨───
  1362.                                          
  1363.  
  1364.                                        r-29
  1365.      FIND COMMAND
  1366.  
  1367.        With  the  find  command you can have RE search for a word or  other
  1368.        string. The form of the find function is "F string options". If your
  1369.        string contains blanks  then enclose the string  in    apostrophes  or
  1370.        quotes (' or ").  When  you press  enter  the search  starts at  the
  1371.        cursor position and continues  to the last line (first  line if  you
  1372.        use    options P  or L).  If  the  string is found  then the cursor is
  1373.        placed at the start of the string.  If the  string is on an excluded
  1374.        line then that line is unexcluded.
  1375.  
  1376.        There are  several options to  let  you modify the search.  Each  of
  1377.        these options is represented by one letter.    Combinations of options
  1378.        may    be  entered  after the find string or may  be attached    to  the
  1379.        command letter.
  1380.  
  1381.          N lets you look  for  the    next  occurrence.  This  means that the
  1382.          search starts one space after the cursor position.
  1383.  
  1384.          P lets you look for the previous occurrence.  This means  that the
  1385.          search starts one space  before the cursor position and the search
  1386.          is in the backward direction.
  1387.  
  1388.          F starts the search on the first line and column of the file.
  1389.  
  1390.          L    starts the search on the  last    line and column of the file and
  1391.          causes a search in the backward direction.
  1392.  
  1393.          A finds  (and unexcludes) all occurrences, and  puts the cursor on
  1394.          the first    occurrence.  The number of  finds  is displayed on  the
  1395.          "Found"  message.    If First, Last, Next, or Previous is specified,
  1396.          then that    specifies  the starting point  of the search  otherwise
  1397.          First is assumed.
  1398.  
  1399.          S    (show  all) excludes all lines of  interest (the whole    file or
  1400.          area mark, with  or without  excluded or unexcluded lines) that do
  1401.          not include the specified    find string and unexcludes  lines  that
  1402.          include the  string.  The    number of  finds is displayed  with the
  1403.          "Found"  message and the  cursor  is  put on the command line.  If
  1404.          First,  Last, Next, or  Previous is specified, then that specifies
  1405.          the starting point of the search otherwise First is assumed.
  1406.  
  1407.          H (hide all) is like S  (show  all)  except  that it excludes  all
  1408.          lines of  interest that  include  the  specified  find  string and
  1409.          unexcludes lines that do not include the string.
  1410.  
  1411.          C    causes    RE to check  for a  match of the capitalization of each
  1412.          letter  in  the  find  and  file  strings.  Without  this    option,
  1413.          capitalization  (of the  find string and file  strings) is ignored
  1414.          (by internally converting the strings to uppercase).  For example,
  1415.          to  find the string "RE" without  finding the string "re", use the
  1416.          command "f RE c".
  1417.                                          
  1418.  
  1419.                                        r-30
  1420.          M restricts the  search to the current  area mark.  For example to
  1421.          find the string "the"  only  in  the  first  20  columns,    use the
  1422.          command "m 1 20" to mark the columns, and then  use the command "f
  1423.          the m" to do the search. Even with the M option, the search starts
  1424.          at  the cursor and goes in the normal direction, so if  the cursor
  1425.          is below an area mark and the search is in  the forward direction,
  1426.          nothing will be found.
  1427.  
  1428.          W    narrows the search by requiring  that your string be surrounded
  1429.          by blanks or punctuation.    This implies (loosely) that your string
  1430.          is a word.  For example, if you use the command "f and w" then the
  1431.          next occurrence of the word "and" will be found while the "and" in
  1432.          "landing" will be ignored.  Characters that  do  not delimit words
  1433.          are:  #, $, %, 0..9, @, A..Z, a..z.  All other characters are word
  1434.          delimiters. To change this choice see the @FINDWORD in REPROF.DOC.
  1435.          Any character may be contained within the word.
  1436.  
  1437.          B says to accept a  string only if it is  the beginning of a word.
  1438.          See the W option, above, for details on what is considered a word.
  1439.  
  1440.          E says to accept a string only if it is the end of a word. See the
  1441.          W option, above, for details on what is considered a word.
  1442.  
  1443.          U says to ignore unexcluded lines.
  1444.  
  1445.          X says to ignore excluded lines.
  1446.  
  1447.        The First, Last,  Next, Previous options are mutually exclusive, and
  1448.        may not be combined in one find command. Show all, Hide all, and All
  1449.        are also mutually exclusive.
  1450.  
  1451.        The F7 menu gives a number of standard Find commands to choose from.
  1452.  
  1453.        After a Find command  is executed,  the find  string  and  a set  of
  1454.        options are displayed on the status line. These options are the ones
  1455.        that you entered in your find command,  except that S, H, and A  are
  1456.        not shown, F is changed to  N, L is changed to P, and if you did not
  1457.        specify either N or P then  N is added.  The  displayed  string  and
  1458.        options are used if you do a repeat    find function.    Press alt-1 (or
  1459.        F7-repeat_Find) to do the repeat find. The displayed string may also
  1460.        be  referenced by using a * or blank for the string in an F command.
  1461.        The displayed options may be referenced by using *.    The repeat find
  1462.        function is equivalent to the command "F * *" or "F*".
  1463.  
  1464.        Before  alt-1 repeats the displayed find, it checks the command line
  1465.        for a Find or Change command. If it finds a Find command it executes
  1466.        that command instead of repeating the displayed find.  If it finds a
  1467.        Change command  then it executes the find associated with the change
  1468.        and updates the  displayed  change string (see the  next section for
  1469.        more information on the Change command).
  1470.  
  1471.        The    Hide all option unexcludes  lines before excluding found lines.
  1472.        If  you  want to use it  to successively exclude  lines, use  the  X
  1473.        option  also.  Similarly, to use the S option to successively reshow
  1474.        lines, use the U option also.
  1475.  
  1476.        Break cancels a find command.
  1477.                                          
  1478.  
  1479.                                        r-31
  1480.      CHANGE COMMAND
  1481.  
  1482.        The Change command  does the same search  as the find function,  and
  1483.        then  replaces  the string with  another  string.  Its  form  is  "C
  1484.        findstring changestring  options".  The  change string  is displayed
  1485.        beside the find string on the status line. The syntax and options of
  1486.        the Change command are the same as for the Find command, except that
  1487.        the Next and Previous options start the search at the current cursor
  1488.        position, not the next or previous space.
  1489.  
  1490.        The    F7  menu gives a number of  standard Change  commands to choose
  1491.        from.
  1492.  
  1493.        The findstring of the  Change  command  and the string  of the  Find
  1494.        command  are the same quantity.  So, for example, if  you have found
  1495.        the string  "hte"  with the command "F hte",  you  may change it  to
  1496.        "the" with the command "C * the".
  1497.  
  1498.        If  you press alt-r (f1-Reshow) immediately after changing a string,
  1499.        the    string will be un-changed.  This will not work if you  used the
  1500.        All, Show all, or Hide all option.
  1501.  
  1502.        If your  change will  not  fit  in  255  columns, you will  get  the
  1503.        "Line(s) too long" message and the change will not be done.
  1504.  
  1505.        Break cancels a change command.
  1506.  
  1507.        You may repeat a Change command with alt-2 or F7-repeat_Change. This
  1508.        is equivalent to the command "C * * *" or "C*". Before alt-2 repeats
  1509.        the    displayed change, it checks  the  command line    for a  Find  or
  1510.        Change command.  If    it finds a  Find command it updates the current
  1511.        find string and options before doing the repeat change function.  If
  1512.        it finds a Change command then that    command is  executed instead of
  1513.        repeating the displayed change.
  1514.  
  1515.        A special  case  of the Change command with the  all  options occurs
  1516.        when the find and change  strings both have    no nonblank characters,
  1517.        such as CA ' '  ''.    In this case, nothing to the right of the  last
  1518.        nonblank character on a  line can change,  so these    changes are not
  1519.        reported in the change count.
  1520.  
  1521.        There is no "replace with query" command in RE. However, you can get
  1522.        the    same effect by using the alt-1    (repeat find) and alt-2 (repeat
  1523.        change) functions.  Use  alt-1  to find each string and use alt-2 to
  1524.        change the ones that you want to change.
  1525.                                          
  1526.  
  1527.                                        r-32
  1528.      ORDER LINES COMMAND
  1529.  
  1530.        To reorder a group of lines, mark the lines with an area mark.  Mark
  1531.        the columns on which to sort with the margins of the area mark. Then
  1532.        execute the O command. Two option selections are required. The first
  1533.        is one  of  the three  options A (ascending),  D (descending), and R
  1534.        (reverse).  The  second is one of the two options X (retain excluded
  1535.        lines with  their  parent  line)  and I (sort  lines independently).
  1536.        Normally the  sort  is  alphabetical,  ignoring  capitalization  and
  1537.        punctuation on characters (for  example "A"    is the    same as "a" and
  1538.        "á"). The C option causes the sort to be by ASCII code.
  1539.  
  1540.        RE's sorts are stable, that is,  lines  with equal sort value remain
  1541.        in  the same order.    This property lets you sort on multiple fields.
  1542.        To do this sort the least significant field first, then  sort on the
  1543.        next least significant field, and so on to the most significant.
  1544.  
  1545.        With  the  A or  D  options,  sorts may  take  a  significant  time,
  1546.        depending  on the number  of lines sorted,  the number of columns in
  1547.        the mark, and the number of significant columns  in the mark.  Break
  1548.        cancels a sort at the next available break point.
  1549.  
  1550.        The f10 menu provides all Order possibilities.
  1551.  
  1552.        To sort sections of outlines, exclude the outline so that everything
  1553.        but    the section  titles are excluded.  Then use the X option of the
  1554.        Order command.
  1555.  
  1556.        To  modify  the   default  collating  sequence,   see  @SORTSEQ   in
  1557.        REPROF.DOC.
  1558.  
  1559.      LINE NUMBER COMMAND
  1560.  
  1561.        Any positive integer less than 60000 entered as a command will cause
  1562.        RE to move the  cursor  to that line number.  "0" will scroll to the
  1563.        top of the file.
  1564.  
  1565.      DOS SHELL COMMAND
  1566.  
  1567.        "D  (command)" invokes a DOS shell.    If a command  is specified then
  1568.        only  that command is done and  control  is returned to RE.    If  the
  1569.        command leaves the  cursor  in the upper left corner  of  the screen
  1570.        then control  is given to  RE immediately.  This can be accomplished
  1571.        from a BAT file by making the last command CLS followed by ASCII 26.
  1572.        Otherwise  press enter to return to RE.  If    no command is specified
  1573.        then you must use the  EXIT command from DOS to get back to RE.  You
  1574.        must have at least 64K (4096 paragraphs) of free memory to use the D
  1575.        command.
  1576.  
  1577.        F2-dos and f2-dos_* set up DOS shell commands.
  1578.  
  1579.        The    commands DI, DM, and  DS invoke  program interface  DOS shells.
  1580.        These are currently used only by REPROF which can be called from the
  1581.        RE command line (DI REPROF) to assemble  the current RE session into
  1582.        a new RE.EXE.  See REPROF.DOC. Details of the interface will be made
  1583.        available later (if you have an immediate need, contact me).
  1584.                                          
  1585.  
  1586.                                        r-33
  1587.      WINDOWS AND SPLIT SCREEN
  1588.  
  1589.        RE has two windows, A and B.  When RE is started window A is active.
  1590.        Alt-w or f1-Window_a/b switches the active window.  Window B behaves
  1591.        just like window A but  A and B  keep  distinct  positions  for each
  1592.        file.
  1593.  
  1594.        The     screen  may  show  either  window   alone  or    both   windows.
  1595.        F3-split_screen  splits  the  screen  at the cursor    and leaves both
  1596.        windows visible.  In this case, neither window  can    have less  than
  1597.        three lines of text.  When in split screen  mode the inactive window
  1598.        reflects the current  internal database  - the current  line  is not
  1599.        updated  until   that  line    is  saved  to  the  internal  database.
  1600.        F3-unsplit_screen makes the active window cover the entire screen.
  1601.  
  1602.        The keyboard cursor up and down keys automatically switch the active
  1603.        screen as they traverse the screen.    The autoscroll cursor functions
  1604.        (used by  the  mouse  and  installable on the  keyboard)  scroll the
  1605.        window rather than switching windows.
  1606.  
  1607.      STATUS LINE
  1608.  
  1609.        The second line on the RE screen is a status line. It is highlighted
  1610.        with a bright background. The cursor cannot be moved onto this line.
  1611.        If the screen is split  then  the status lines is  above the  active
  1612.        window and  another status  line with just a file name is  above the
  1613.        inactive window. The status line includes:
  1614.  
  1615.        25 columns for messages,  file  names, and the ruler
  1616.          If there  is no  other message then the active window letter (A or
  1617.          B) is displayed with either the file name or  the ruler, depending
  1618.          on the cursor position and the position mark status.
  1619.        "c" if the  keyboard is in caps  lock mode  or the current  user
  1620.          defined shift state
  1621.        "i", "s", "w", "┼", "╬","*", or "x" if RE is  in insert, autoscroll,
  1622.          word wrap,  single line draw,  double line draw, current character
  1623.          draw, or ignore excluded lines mode
  1624.        "u" if the session has not been changed
  1625.          The  change  state of a  session is  not updated  until the cursor
  1626.          leaves a line, so typing in an unchanged session does not cause it
  1627.          to be changed immediately.
  1628.        "á" or "a" if there is an incomplete or complete area mark
  1629.        "p" if there is a position mark
  1630.        the cursor column
  1631.        the line number  of the cursor  if the cursor  is  on an editable or
  1632.          excluded line, or the  line number of  screen line 3 if the cursor
  1633.          is on the command line and line 3 is an editable or excluded line
  1634.        the ASCII code (decimal) of the character at the cursor  position if
  1635.          the cursor is on an editable line or the command line
  1636.        the current find string
  1637.        the current change string
  1638.        the current find/change options
  1639.  
  1640.        If  the file  name, find string,  or  change string are too long for
  1641.        their status line  fields,  then  the  first  and last  parts of the
  1642.        strings  are  displayed,  with  a diamond  in the  middle.  Only the
  1643.        display is changed. The full strings are kept within RE.
  1644.                                          
  1645.  
  1646.                                        r-34
  1647.      FILE NAMES
  1648.  
  1649.        RE  enforces file name restrictions    for  the Edit, Save,  and  Name
  1650.        commands.  This insures that you do not create or  input files named
  1651.        by DOS truncating  an  invalid file    name  and helps  prevent system
  1652.        hangs due to accessing unconnected devices.
  1653.  
  1654.        RE restricts you to DOS 2.0    file naming standards.    All  such names
  1655.        are    valid  under subsequent versions of DOS.  Later versions of DOS
  1656.        allow more flexibility  in file names,  but    this can cause problems
  1657.        such as backward compatibility and uppercasing a file name producing
  1658.        an  unexpected  file.  "..\" (parent directory) may be  used at  the
  1659.        start  of  a file  name  (..\re.doc)  or  immediately after    a  disk
  1660.        specifier (c:..\re.doc),  but may  not be  used anywhere  else.  All
  1661.        paths are limited to 63  characters.  If you have @exfilename set to
  1662.        ^yes  then RE  fully qualifies all file names that you input and all
  1663.        expanded paths are limited to 63 characters.
  1664.  
  1665.        In addition,  RE  will not let you  use  CON, AUX, COM1, COM2, COM3,
  1666.        COM4, LPT1,    PRN,  LPT2,  LPT3, or  NUL  for  file  names (these are
  1667.        reserved device names), and it will not  let you save  to files with
  1668.        extensions RE!, BAK, COM, or EXE.
  1669.  
  1670.      MEMORY MANAGEMENT
  1671.  
  1672.        RE  uses only standard memory for its internal database, up to  640K
  1673.        (736K  if  you  have a setup  that  allows this).  It  does not  use
  1674.        extended or    expanded  memory  or  a  spill file.  Each  line in the
  1675.        internal database requires  (i+24) div 16 consecutive paragraphs (16
  1676.        characters)    where i is the number of characters included within the
  1677.        first  and last nonblank  characters.  Lines that are seven    or less
  1678.        characters take one paragraph.
  1679.  
  1680.        When RE finds  that the available  memory is less  than  about  2000
  1681.        bytes,  it  gives a free  memory low warning.  Various functions are
  1682.        disabled.  When  a new  line cannot    be stored in RE's internal data
  1683.        structure, a memory full error is displayed.  When this happens, you
  1684.        cannot make any changes that increase the size of your file.
  1685.  
  1686.        Whenever RE is waiting for a keystroke it works at defragmenting the
  1687.        internal database.  Occasionally  you may  have  a  free memory  low
  1688.        warning  that  disappears spontaneously.  You may force  a  complete
  1689.        defragmentation with f3-free_memory (but this is never necessary).
  1690.  
  1691.        F3-free_memory defragments RE's internal database  and  displays the
  1692.        amount of free memory. The number displayed is in paragraphs.
  1693.                                          
  1694.  
  1695.                                        r-35
  1696.      HOUSEKEEPING DETAILS
  1697.  
  1698.        RE  lets you edit any number of files at the same time  (subject  to
  1699.        memory limitations).  To add a  new file to those  being edited, use
  1700.        the E command.  To  move between  the  different  files  use  alt-q,
  1701.        f2-Next_session,  or f2-Previous_session.  To remove a file from the
  1702.        current files use the Q  command (if desired, use the  S command  to
  1703.        save the file first).
  1704.  
  1705.        Whenever RE scrolls to a specific line that    line is unexcluded.  If
  1706.        the    line is not on the screen then the  line and cursor  are put on
  1707.        the second line of the edit window.
  1708.  
  1709.        In order  to  prevent keyboard coasting, RE ignores certain repeated
  1710.        keystrokes when it cannot keep  up with them.  All  keys that invoke
  1711.        functions  (rather  than   text)   except   enter,  are  subject  to
  1712.        suppression.  Text is never suppressed.  If you are using a keyboard
  1713.        macro  program, put an  unused function  key (shift-f1 for  example)
  1714.        before each repeated function key to prevent suppression.  If you do
  1715.        not like the decoasting, see @DECOASTKB in REPROF.DOC. Some resident
  1716.        programs  that  take over  the  keyboard interrupt  can disable RE's
  1717.        keyboard decoasting.
  1718.  
  1719.        RE  displays the result of each keystroke, even if another keystroke
  1720.        is in  the  buffer  waiting to be  operated    on.  Together with  the
  1721.        keyboard decoasting system, this lets you use the typematic function
  1722.        of the keyboard without worrying about getting ahead of the display.
  1723.  
  1724.        In the middle  of  a  block    operation,  RE may display  the message
  1725.        "Defragmenting memory".  When this happens  RE  is restructuring its
  1726.        internal database to provide more usable memory for the operation.
  1727.                                          
  1728.  
  1729.                                        r-36
  1730.      MOUSE HANDLING
  1731.  
  1732.        RE has  native  mouse  handling  via the  Microsoft mouse  interface
  1733.        (interrupt hex  33).  You must install MOUSE.SYS or MOUSE.COM to get
  1734.        this  handling.  If    you  wish  to  use  a  mouse  driver that feeds
  1735.        keystrokes to  RE,  you will  probably need to  disable RE's  native
  1736.        mouse handling (see @MOUSE* in REPROF.DOC).
  1737.  
  1738.        The left  mouse button  is  the same as the enter key except that if
  1739.        there is no pending command, the Basic menu is displayed.  The right
  1740.        button  is the same as the esc key.    The middle button is unused but
  1741.        may be assigned. Mouse movement gives autoscroll cursor movement.
  1742.  
  1743.        If you get a two second delay on startup and after a DOS shell it is
  1744.        likely that your mouse hardware reset is causing this.  This happens
  1745.        on  some IBM  PS/2s.  On other systems  there may be a shorter,  but
  1746.        still annoying delay.  See @MOUSE* in REPROF.DOC to change the reset
  1747.        to a software reset.
  1748.  
  1749.      DISPLAYS
  1750.  
  1751.        RE  has four  sets of display attributes.  These are: monochrome for
  1752.        use    on a digital  monochrome  display;  color  for use on  a  color
  1753.        display;  black/white  for use  on an analog monochrome display; and
  1754.        lcd for use on laptop computers. RE cannot set the display mode, but
  1755.        it  queries the  current mode on  startup  or  after a DOS shell and
  1756.        chooses its attribute set based on this.
  1757.  
  1758.        RE  can operate under text modes with 80 to 255  columns and 6 to 80
  1759.        lines.  The standard  modes    that  meet these requirements  are CO80
  1760.        (Color  80    column),  BW80    (Black/White   80   column),  and  MONO
  1761.        (Monochrome    80 column).  The mode  may  be set  with  the  DOS MODE
  1762.        command,  or other display  control software, before running  RE  or
  1763.        from a DOS shell.
  1764.  
  1765.        If you use a PC Convertible with  a liquid crystal display, set  the
  1766.        display mode to MONO or BW80 before starting RE.  RE will choose its
  1767.        lcd attributes instead of the normal mono or b/w attributes.  If you
  1768.        attach a color display, set the mode to CO80 to get the normal color
  1769.        attributes.
  1770.  
  1771.        RE can  detect the  use of  a PC  Convertible but  not  other laptop
  1772.        computers. To use the LCD attributes in this case, add the ^setatlcd
  1773.        command to the  startup macro in  your  profile and assemble it with
  1774.        REPROF (see REPROF.DOC).
  1775.  
  1776.        If you normally  use a color monitor  in black/white mode  then  the
  1777.        colors may not  be very good.  This    is  the default  situation on a
  1778.        PCjr.  To  fix  the    problem  add  the  line  "MODE    CO80"  to  your
  1779.        AUTOEXEC.BAT file.  This  requires  that the DOS file MODE.COM be on
  1780.        your boot disk.
  1781.  
  1782.        If you normally use an analog monochrome monitor in color mode, then
  1783.        the    colors will be poor.  This is the default situation with an IBM
  1784.        Portable PC and an IBM PS/2 or VGA with a monochrome monitor. To fix
  1785.        this problem add the line  "MODE BW80"  to  your AUTOEXEC.BAT  file.
  1786.        This requires that the DOS file MODE.COM be on your boot disk.
  1787.                                          
  1788.  
  1789.                                        r-37
  1790.      TIPS
  1791.  
  1792.        Here are a few tips that may help you with RE.
  1793.  
  1794.        If  you have a set of unequal length strings (one on each line) that
  1795.        need to be enclosed in quotes: put  a  one column block  mark to the
  1796.        left of  strings and fill  it with quotes  (use  f9-fill_block_pat);
  1797.        overlay the column of quotes to  the right  of the  strings (alt-o);
  1798.        extend the mark to the column to the  left  of  the new quotes  with
  1799.        f3-mark_column_resize and shift the strings to the right side of the
  1800.        mark  with f8-Right_side (or alt-v alt-v alt-v); extend  the mark to
  1801.        cover the right hand quotes with f3-mark_column_resize and shift the
  1802.        strings left with f8-Left_side.
  1803.  
  1804.          abcdef      'abcdef    'abcdef '    'abcdef'       'abcdef'
  1805.          abc     -->  'abc       -->    'abc    '  -->       'abc'  -->  'abc'
  1806.          abcd      'abcd     'abcd    '      'abcd'       'abcd'
  1807.  
  1808.        To transfer text between files: edit  both  files  at the same time;
  1809.        mark an area in one file; press alt-q to get to the second file; and
  1810.        then  move, copy, overlay or insert (alt-m, alt-c, alt-o, alt-i) the
  1811.        area mark.
  1812.  
  1813.        If  you  have  decided  where to move a piece of text, but  have not
  1814.        marked the text  yet,  press alt-p to mark  your position, then mark
  1815.        the text, and press alt-g to return to that position.
  1816.  
  1817.        It is rarely necessary to  unmark an area.  When you get  the  "Area
  1818.        mark already  exists" message, repeat the same function.  The unmark
  1819.        will be done automatically and the new area mark will be started.
  1820.  
  1821.        For cursor movement, shifting  text, inserting  new    lines,    and the
  1822.        repeat  find and change functions, the typematic  function of the PC
  1823.        keyboard is    very  useful.  RE prevents  keyboard coasting  on  such
  1824.        functions (not on text),  so generally you can  hold  a function key
  1825.        down until one more key press is needed. For a little practice, mark
  1826.        100 lines of a file, and use the shift left (alt-9) or right (alt-0)
  1827.        function.  If  you want to type ahead  on these keys, press shift-f1
  1828.        (or any unused function key) between each key.
  1829.  
  1830.        If  you use the  DOS  shell often and you  have  enough memory,  put
  1831.        COMMAND.COM on a RAM disk, and "SET COMSPEC=D:\COMMAND.COM" in  your
  1832.        AUTOEXEC.BAT. DOS shells will run faster this way.
  1833.  
  1834.        There  are  no "undo"  functions  in  RE  beyond  the  current  line
  1835.        redisplay  function.  However you may  edit the  old  file  that you
  1836.        started with and copy text from it to your current file.
  1837.  
  1838.        If you accidentally overwrite a  file with the  Save command, do not
  1839.        forget that this file is still on your disk, with extension BAK. You
  1840.        can exit RE and fix your  disk, or read  in the BAK file and save it
  1841.        to the correct name.
  1842.  
  1843.        It is wise to save your files to disk  often.  There are many events
  1844.        that can cause RE to lose data such as power failure, memory errors,
  1845.        and problems caused by resident DOS extensions. RE does no automatic
  1846.        backups.
  1847.                                          
  1848.  
  1849.                                        r-38
  1850.      MESSAGES
  1851.  
  1852.        RE displays messages in the first 25 columns of the status line.  In
  1853.        color  mode, informational messages are in  blue and error  messages
  1854.        are in red.    Critical error messages normally cause a  beep, but are
  1855.        silent on an immediate repeat.  A  few  of  the  messages may appear
  1856.        before the new DOS prompt when  RE  cannot be  run  or after  RE  is
  1857.        finished. The following is a list of messages.
  1858.  
  1859.        "Are you sure?  (Y/N)" is a request for you to confirm your command.
  1860.        Type "y" or "Y" to confirm.    Any other key cancels the command.  You
  1861.        can cause this message several ways.
  1862.  
  1863.          Do a  Quit  command  on a file  that you have changed but have not
  1864.          saved.
  1865.  
  1866.          Enter an ASCII decimal 26 as a  character.  This  character is the
  1867.          end  of  file  mark,  so  be  careful  where  you    put  it.   This
  1868.          confirmation is disabled if you patch in new style ASCII files.
  1869.  
  1870.          Do an area mark function immediately after receiving an "Area mark
  1871.          already  exists" or "Incorrect cursor position" message, or a line
  1872.          delete  when the mark is completely off of the screen.  It is then
  1873.          assumed that your area mark may not be as expected, and so you are
  1874.          asked for confirmation before the function is done.
  1875.  
  1876.          Do a flow    or right  justify function on a mark that  is  only one
  1877.          column wide.  This is presumed to be a mistake but it will be done
  1878.          if you confirm it.
  1879.  
  1880.          Do  an area  insert, overlay, or shift  that would  cause nonblank
  1881.          characters to be lost.  On destructive shifts, only the first of a
  1882.          series of identical shifts cause this prompt.
  1883.  
  1884.        "Area  mark    already exists" means  that you are trying to create an
  1885.        area mark  but one  already    exists.  If you immediately retry  your
  1886.        function then the area mark will be removed and the new one created.
  1887.        Or use alt-u to remove the current mark.
  1888.  
  1889.        "Cannot use display    mode" is seen  only on    a DOS screen.  It means
  1890.        that RE cannot work under the current display mode. The display must
  1891.        be in an alpha mode with between 80 and 255 columns. If you get this
  1892.        message after DOS shell, a new shell is  started and you must change
  1893.        the mode before going back to RE.
  1894.  
  1895.        "Changed"  tells  you that  your Change  command  or  repeat  change
  1896.        function is finished.  If the All,  Show all, or Hide all option was
  1897.        chosen and more than one string was changed,  the number of changes,
  1898.        up to 10000, is displayed.
  1899.  
  1900.        "Default disk/dir  changed" means  that you have changed the default
  1901.        disk or directory from a DOS shell.    This  may cause problems if you
  1902.        have not fully qualified your file names.
  1903.  
  1904.        "Defragmenting memory"  is a message that appears when a function is
  1905.        held up because RE is straightening out its internal database.
  1906.                                          
  1907.  
  1908.                                        r-39
  1909.        "Disk/device  error"  means that RE has encountered a problem  while
  1910.        reading from or writing to a disk or device. This can be a directory
  1911.        space problem, a non-existant  drive  or device  (printer), a device
  1912.        error such  as a  printer  that is not ready, or  insufficient  disk
  1913.        space  on  a  Print    command  (Saves  check    for disk  space  before
  1914.        proceeding).
  1915.  
  1916.        "Disk write    protected"  means  that  your  Save  command has failed
  1917.        because the    disk  is  write  protected.  You  may  remove the write
  1918.        protect tape  on  the disk or insert a new disk and execute the Save
  1919.        command again.
  1920.  
  1921.        "DOS memory error" means that on startup or    after a DOS shell,  DOS
  1922.        would not let  RE  get or recover its  memory.  This  will generally
  1923.        happen only when  you  install  a resident DOS  extension  from  the
  1924.        shell.  If you get this  message,  you  will have little  or no free
  1925.        memory to work with, and  it is  best to save your data  and  reboot
  1926.        your system.
  1927.  
  1928.        "Drive not ready" means that  there is not a disk  in  the requested
  1929.        drive or that the door is not closed.
  1930.  
  1931.        "Enter ASCII code" is the prompt from the alt-a function.
  1932.  
  1933.        "Found" tells you that your Find command or repeat find  function is
  1934.        finished.  If the  All, Show all, or Hide all option  was chosen and
  1935.        more than one string was found, the number of finds, up to 10000, is
  1936.        displayed.
  1937.  
  1938.        "Free paragraphs" tells you the amount of free memory, in paragraphs
  1939.        (16 bytes).
  1940.  
  1941.        "Free memory  low" means  that there is less than 2000 bytes of free
  1942.        memory. Certain functions will be disabled and give the insufficient
  1943.        free memory message. You can still do minimal editing, but beware of
  1944.        the memory full error message.
  1945.  
  1946.        "Incorrect Change string" means that the change string  in a  Change
  1947.        command or alt-2 (repeat change) function is not valid.
  1948.  
  1949.        "Incorrect  command" means that  the command that you  are trying to
  1950.        run is not recognized.
  1951.  
  1952.        "Incorrect cursor position" means that the cursor is in an incorrect
  1953.        position for the function that you are trying.
  1954.  
  1955.        "Incorrect file name" means that the file name that you specified in
  1956.        an  Edit, Name, or Save command is not a valid file name or the file
  1957.        name  in  a    Save  command  is  not    acceptable to  RE  (files  with
  1958.        extensions BAK, COM, EXE, RE!). See FILE NAMES.
  1959.  
  1960.        "Incorrect Find string"  means  that  the  find string in a    Find or
  1961.        Change  command  or alt-1 (repeat find)  or    alt-2  (repeat    change)
  1962.        function is not valid.
  1963.                                          
  1964.  
  1965.                                        r-40
  1966.        "Incorrect number" says that a number that you entered is not valid.
  1967.        For the alt-a function the number must be from 0 to 255 entered as a
  1968.        three digit number (with leading zeroes if needed). You can also get
  1969.        this message from a Tab, Wrap, or line number command.
  1970.  
  1971.        "Incorrect option" means that one of the options that you  specified
  1972.        in a command  is not  valid    or a pair of options conflict with each
  1973.        other (such as First  and Last).  This is  often a side effect  of a
  1974.        find or  change string  that includes  a blank but is not  delimited
  1975.        with quotes, or a missing blank after the command string.
  1976.  
  1977.        "Insert ?:, press enter" is a prompt  that  tells you to insert  the
  1978.        diskette that you are using as the ? disk (where ? can be A, B, ...)
  1979.        and then press enter to tell RE to continue.
  1980.  
  1981.        "Insufficient disk space"  means that  there  is not enough space on
  1982.        the disk to do the requested save.  You may want to use the D option
  1983.        on the Save command which uses a minimum of space.
  1984.  
  1985.        "Insufficient free  memory" means that  the    available memory is too
  1986.        low to do the requested function. The following functions require no
  1987.        memory:  quit, save, blank area, and  delete  area.    However, before
  1988.        these functions can be executed, the current line must be saved.  If
  1989.        there is  no room  for this,  then  you  will  get  the  memory full
  1990.        message.  In this case,  do    an alt-r  (redisplay)  or  shorten  the
  1991.        current line, then repeat your function.
  1992.  
  1993.        "Line(s)  split" means  that one  or  more lines were  split  at 255
  1994.        columns  during  file  input.  "Line(s)  too  long"    means  that  RE
  1995.        encountered a line  that would  exceed 255 columns if the  requested
  1996.        operation  was done.  For this line, the operation was not  done and
  1997.        the message is displayed. Some functions continue after encountering
  1998.        this problem (and may encounter another such line).
  1999.  
  2000.        "Mark is not in  session"  means  that you are  trying to do a Find,
  2001.        Change,  or    Print command with the M option (in area mark), but the
  2002.        area mark is in another file.
  2003.  
  2004.        "Mark is not in  window" means  that  you are  trying to change  the
  2005.        contents of    an area mark, but the  area mark is not in  the  active
  2006.        window.  This is not allowed in  general,  to help  avoid accidental
  2007.        changes.  For a  line  delete (alt-d  on  a line  area  mark) it  is
  2008.        allowed, but you are prompted for confirmation.
  2009.  
  2010.        "Memory  full - Data  Lost" means  that  RE ran out of memory  while
  2011.        executing  a function.  The function  did  not complete and the data
  2012.        needs to be fixed before saving the file.
  2013.  
  2014.        "No area mark" means  that you  are    trying    to do  a function  that
  2015.        requires an area mark, but none exists.
  2016.  
  2017.        "No files" means that your requested directory mask has no files.
  2018.  
  2019.        "No    line area mark" means that you are trying to do a function that
  2020.        requires  a line  area  mark,  but  the current mark does  not cover
  2021.        columns 1 through 255.
  2022.                                          
  2023.  
  2024.                                        r-41
  2025.        "No    mark" is displayed when you press alt-g (go to mark) but  there
  2026.        is no position mark or area mark.
  2027.  
  2028.        "Not found" means that your find string was not found.
  2029.  
  2030.        "Not in ring" says that the file that you are trying to go to is not
  2031.        in the current ring of files.
  2032.  
  2033.        "Numeric fill overflow"  means that your numeric  line fill function
  2034.        ran    out  of columns.  The  function was  completed, but is    missing
  2035.        digits to the left of the numbers.
  2036.  
  2037.        "Parameter too long" means that a command line  parameter exceeds 80
  2038.        characters, or 124 characters for a DOS command.
  2039.  
  2040.        "Press enter to continue" is given from  a DOS  shell when RE thinks
  2041.        that there is information on the screen that you may want to look at
  2042.        before you return to the RE screen.
  2043.  
  2044.        "Printed" means that  RE  has finished sending data to  the printer.
  2045.        (The printer may still be working on the job.)
  2046.  
  2047.        "Replace file?  (Y/N)"  means that  your save command  (with a  file
  2048.        explicitly  specified) will overwrite a file and  you must press "Y"
  2049.        to continue the operation.  This prompt will only be given for the D
  2050.        and I  save types.  With the  B (default) save type, an  overwritten
  2051.        file may be recovered from the .BAK file.
  2052.  
  2053.        "Saved" says that your data was successfully saved.
  2054.  
  2055.        "Saved  - file replaced" says that your data  was successfully saved
  2056.        to  a non-default file name which was already on the  disk.    The old
  2057.        file was renamed with the .BAK extension.
  2058.                                          
  2059.  
  2060.                                        r-42
  2061.      COMPATIBILITY AND TECHNICAL INFORMATION
  2062.  
  2063.        RE will run on any IBM compatible MS-DOS computer with 256 Kbytes of
  2064.        memory and an 80 column (or    greater)  monitor.  RE    supports  being
  2065.        windowed by DESQview but not by Windows.
  2066.  
  2067.        RE reads  and  writes standard  ASCII text  files.  For a file to be
  2068.        properly read,  it  must have a CR/LF (hex 0D and 0A, in that order)
  2069.        at the end of each line except the last. EOF (hex 1A) is viewed as a
  2070.        file terminator  but is not required.  By default tab characters are
  2071.        expanded on input. The maximum line length is 255 characters. When a
  2072.        file is written, CR/LF is put at the end of each line including  the
  2073.        last, and EOF is put at the end of the file.  By default there is no
  2074.        tab    compression on output.    All trailing blanks  on  each line  are
  2075.        removed when writing a file.
  2076.  
  2077.        If RE is modified  to work with  new  style    ASCII text  files  (see
  2078.        REPROF.DOC) then EOF is not    viewed as a  file terminator  and  when
  2079.        writing a file, the final CR/LF/EOF is left off.
  2080.  
  2081.        RE uses BIOS functions for the display interface except that  screen
  2082.        updates are done by writing directly to the display buffer. If color
  2083.        screen  update  waits  are in effect,  port hex 3DA is read.  Unless
  2084.        directed not to,  RE  looks    for  DESQview  and  uses  the  DESQview
  2085.        selected screen buffer. RE finds the display mode and screen size by
  2086.        calling BIOS interrupt hex 10.  The display mode must be 0..3, 7, or
  2087.        17..255.  The number of columns must be from 80 to 255.  At least 10
  2088.        lines are required but this is not  checked.  25 lines are needed to
  2089.        fully display the default  help  text and no more than  80 lines are
  2090.        ever used.  The active page must be 0. To run under Windows you must
  2091.        have Windows invoke a text mode.  RE never changes the display mode,
  2092.        active page, or BIOS colors.
  2093.  
  2094.        BIOS  functions are    used  for the keyboard    interface.  RE normally
  2095.        polls the  keyboard.  See  the  @POLLINPUT  in  REPROF.DOC for  more
  2096.        information.  By default the enhanced  keyboard  functions  are  not
  2097.        used, but these are available (see @ENHANCEDKB).
  2098.  
  2099.        The Microsoft mouse interface (interrupt hex 33)  is  used for mouse
  2100.        handling. Functions 0 or hex 21 for reset, 3 for button presses, and
  2101.        hex B for motion are the only functions used.
  2102.  
  2103.        All other  input and  output is done  with  DOS  2.0  extended  file
  2104.        management functions, in binary mode if writing to a device.
  2105.  
  2106.        Interrupts hex  1B (BIOS break  key handler), hex 23  (DOS break key
  2107.        handler),  and hex 24 (DOS critical error  handler)    are  taken over
  2108.        when RE  is started from  DOS or a  DOS shell, and  restored  before
  2109.        returning to DOS or    a  DOS shell.  This  is  done with DOS function
  2110.        calls. No other interrupts are taken.
  2111.  
  2112.        With DOS 3.1 or lower, when you use one diskette drive as A: and B:,
  2113.        RE reads and writes to the DOS  Communication Area single drive mode
  2114.        status byte (address hex 0050:0004).
  2115.  
  2116.        RE was compiled with Borland's Turbo Pascal 5.5  and Turbo Assembler
  2117.        1.01, but does not use the Turbo Pascal library or startup code.
  2118.                                          
  2119.  
  2120.                                        r-43
  2121.      WHAT RE CANNOT DO
  2122.  
  2123.        RE  cannot do certain things that you might want it    to.  Here is  a
  2124.        list of some of these:
  2125.  
  2126.          use extended or expanded memory or a spill file
  2127.  
  2128.          handle lines greater than 255 characters
  2129.  
  2130.          string marks  - all area marks are rectangular (Use  split/join to
  2131.          help with string moves.)
  2132.  
  2133.          have more than two windows
  2134.  
  2135.          screen split other than one horizontal split
  2136.  
  2137.          different lines excluded in the same file in different windows
  2138.  
  2139.          preserve trailing blanks when saving
  2140.  
  2141.          run in graphics screen modes
  2142.  
  2143.      WHAT TO DO IF YOU HAVE PROBLEMS
  2144.  
  2145.        If you have problems with  RE  or  questions about it, there are two
  2146.        ways to get in  touch with  me.  First  is  the  RE support bulletin
  2147.        board.  Prepare a file  with the details  of your problem.  Call the
  2148.        bulletin board  at 606-268-0577  (1200/2400,N,8,1)  and  upload your
  2149.        file.  It will be assigned a question number - remember this number.
  2150.        I will prepare an answer file, hopefully within 48 hours.  Call  the
  2151.        bulletin board  and download the  corresponding answer file    to  get
  2152.        your answer. All question and answer files are public.
  2153.  
  2154.        You    can  also mail questions  on disk  to  me (360K, 720K, or 1.44M
  2155.        diskettes  only - I    cannot    read  1.2M  diskettes).  Please include
  2156.        return postage. Send the diskette to:
  2157.  
  2158.          Cary Ravitz
  2159.          P. O. Box 25068
  2160.          Lexington, KY  40524-5068
  2161.  
  2162.        I must have specific details. Do not assume that I know what you are
  2163.        trying to do.
  2164.